diff options
Diffstat (limited to 'src/tparam.c')
| -rw-r--r-- | src/tparam.c | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/src/tparam.c b/src/tparam.c index dcf79a3b617..a35647799cb 100644 --- a/src/tparam.c +++ b/src/tparam.c | |||
| @@ -90,15 +90,11 @@ xrealloc (ptr, size) | |||
| 90 | 90 | ||
| 91 | The fourth and following args to tparam serve as the parameter values. */ | 91 | The fourth and following args to tparam serve as the parameter values. */ |
| 92 | 92 | ||
| 93 | static char *tparam1 (); | 93 | static char *tparam1 (char *string, char *outstring, int len, char *up, char *left, register int *argp); |
| 94 | 94 | ||
| 95 | /* VARARGS 2 */ | 95 | /* VARARGS 2 */ |
| 96 | char * | 96 | char * |
| 97 | tparam (string, outstring, len, arg0, arg1, arg2, arg3) | 97 | tparam (char *string, char *outstring, int len, int arg0, int arg1, int arg2, int arg3) |
| 98 | char *string; | ||
| 99 | char *outstring; | ||
| 100 | int len; | ||
| 101 | int arg0, arg1, arg2, arg3; | ||
| 102 | { | 98 | { |
| 103 | int arg[4]; | 99 | int arg[4]; |
| 104 | 100 | ||
| @@ -115,9 +111,7 @@ char *UP; | |||
| 115 | static char tgoto_buf[50]; | 111 | static char tgoto_buf[50]; |
| 116 | 112 | ||
| 117 | char * | 113 | char * |
| 118 | tgoto (cm, hpos, vpos) | 114 | tgoto (char *cm, int hpos, int vpos) |
| 119 | char *cm; | ||
| 120 | int hpos, vpos; | ||
| 121 | { | 115 | { |
| 122 | int args[2]; | 116 | int args[2]; |
| 123 | if (!cm) | 117 | if (!cm) |
| @@ -128,12 +122,7 @@ tgoto (cm, hpos, vpos) | |||
| 128 | } | 122 | } |
| 129 | 123 | ||
| 130 | static char * | 124 | static char * |
| 131 | tparam1 (string, outstring, len, up, left, argp) | 125 | tparam1 (char *string, char *outstring, int len, char *up, char *left, register int *argp) |
| 132 | char *string; | ||
| 133 | char *outstring; | ||
| 134 | int len; | ||
| 135 | char *up, *left; | ||
| 136 | register int *argp; | ||
| 137 | { | 126 | { |
| 138 | register int c; | 127 | register int c; |
| 139 | register char *p = string; | 128 | register char *p = string; |