summaryrefslogtreecommitdiff
path: root/tparam.c
diff options
context:
space:
mode:
authorDavid J. MacKenzie <djm@gnu.org>1995-07-26 18:20:46 +0000
committerDavid J. MacKenzie <djm@gnu.org>1995-07-26 18:20:46 +0000
commitf5ab94ff46f59eb9450c6e03875d48d096e90d66 (patch)
treeeca8bdc8ff5ac9f56463f9f28c0add2313ab20cd /tparam.c
parent8f47a6958a05974b95758a66eb297267e37b4dc7 (diff)
downloademacs-f5ab94ff46f59eb9450c6e03875d48d096e90d66.tar.gz
(tparam): Remove arg array and the #ifdef.
Diffstat (limited to 'tparam.c')
-rw-r--r--tparam.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/tparam.c b/tparam.c
index 513d0d34b91..24702899a83 100644
--- a/tparam.c
+++ b/tparam.c
@@ -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 @@ tparam (string, outstring, len, arg0, arg1, arg2, arg3)
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;