changeset 12678:8fc56d171ada

(tparam): Remove arg array and the #ifdef.
author David J. MacKenzie <djm@gnu.org>
date Wed, 26 Jul 1995 18:20:46 +0000
parents 1504d644c6bc
children a14b26e55f25
files src/tparam.c tparam.c
diffstat 2 files changed, 4 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/src/tparam.c	Wed Jul 26 18:01:10 1995 +0000
+++ b/src/tparam.c	Wed Jul 26 18:20:46 1995 +0000
@@ -1,5 +1,5 @@
 /* Merge parameters into a termcap entry string.
-   Copyright (C) 1985, 1987, 1993 Free Software Foundation, Inc.
+   Copyright (C) 1985, 87, 93, 95 Free Software Foundation, Inc.
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
@@ -92,16 +92,13 @@
      int len;
      int arg0, arg1, arg2, arg3;
 {
-#ifdef NO_ARG_ARRAY
   int arg[4];
+
   arg[0] = arg0;
   arg[1] = arg1;
   arg[2] = arg2;
   arg[3] = arg3;
   return tparam1 (string, outstring, len, NULL, NULL, arg);
-#else
-  return tparam1 (string, outstring, len, NULL, NULL, &arg0);
-#endif
 }
 
 char *BC;
--- a/tparam.c	Wed Jul 26 18:01:10 1995 +0000
+++ b/tparam.c	Wed Jul 26 18:20:46 1995 +0000
@@ -1,5 +1,5 @@
 /* Merge parameters into a termcap entry string.
-   Copyright (C) 1985, 1987, 1993 Free Software Foundation, Inc.
+   Copyright (C) 1985, 87, 93, 95 Free Software Foundation, Inc.
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
@@ -92,16 +92,13 @@
      int len;
      int arg0, arg1, arg2, arg3;
 {
-#ifdef NO_ARG_ARRAY
   int arg[4];
+
   arg[0] = arg0;
   arg[1] = arg1;
   arg[2] = arg2;
   arg[3] = arg3;
   return tparam1 (string, outstring, len, NULL, NULL, arg);
-#else
-  return tparam1 (string, outstring, len, NULL, NULL, &arg0);
-#endif
 }
 
 char *BC;