From: David J. MacKenzie Date: Wed, 26 Jul 1995 18:20:46 +0000 (+0000) Subject: (tparam): Remove arg array and the #ifdef. X-Git-Tag: emacs-19.34~3182 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9e3295f914912878352700ff1985c811dc8ec2ae;p=emacs.git (tparam): Remove arg array and the #ifdef. --- 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 @@ /* 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; 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;