aboutsummaryrefslogtreecommitdiffstats
path: root/src/tparam.c
diff options
context:
space:
mode:
authorDavid J. MacKenzie1995-07-26 18:20:46 +0000
committerDavid J. MacKenzie1995-07-26 18:20:46 +0000
commit9e3295f914912878352700ff1985c811dc8ec2ae (patch)
tree2691831a6eef924fabe1a8473610e216faf02c48 /src/tparam.c
parentf42484a2cd1826f60f946bba6f1ec222d8d19c3b (diff)
downloademacs-9e3295f914912878352700ff1985c811dc8ec2ae.tar.gz
emacs-9e3295f914912878352700ff1985c811dc8ec2ae.zip
(tparam): Remove arg array and the #ifdef.
Diffstat (limited to 'src/tparam.c')
-rw-r--r--src/tparam.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/tparam.c b/src/tparam.c
index 513d0d34b91..24702899a83 100644
--- a/src/tparam.c
+++ b/src/tparam.c
@@ -1,5 +1,5 @@
1/* Merge parameters into a termcap entry string. 1/* Merge parameters into a termcap entry string.
2 Copyright (C) 1985, 1987, 1993 Free Software Foundation, Inc. 2 Copyright (C) 1985, 87, 93, 95 Free Software Foundation, Inc.
3 3
4This program is free software; you can redistribute it and/or modify 4This program is free software; you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by 5it under the terms of the GNU General Public License as published by
@@ -92,16 +92,13 @@ tparam (string, outstring, len, arg0, arg1, arg2, arg3)
92 int len; 92 int len;
93 int arg0, arg1, arg2, arg3; 93 int arg0, arg1, arg2, arg3;
94{ 94{
95#ifdef NO_ARG_ARRAY
96 int arg[4]; 95 int arg[4];
96
97 arg[0] = arg0; 97 arg[0] = arg0;
98 arg[1] = arg1; 98 arg[1] = arg1;
99 arg[2] = arg2; 99 arg[2] = arg2;
100 arg[3] = arg3; 100 arg[3] = arg3;
101 return tparam1 (string, outstring, len, NULL, NULL, arg); 101 return tparam1 (string, outstring, len, NULL, NULL, arg);
102#else
103 return tparam1 (string, outstring, len, NULL, NULL, &arg0);
104#endif
105} 102}
106 103
107char *BC; 104char *BC;