Commit 9e3295f9 authored by David J. MacKenzie's avatar David J. MacKenzie
Browse files

(tparam): Remove arg array and the #ifdef.

parent f42484a2
/* 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;
......
/* 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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment