changeset 109540:d4902495c889

* terminfo.c (tparam): Fix prototype of tparm (followup to revno:100891).
author Juanma Barranquero <lekktu@gmail.com>
date Sun, 25 Jul 2010 21:30:14 +0200
parents d962ccf8829f
children 3e5d1ad9094d 6b02202d9fdc
files src/ChangeLog src/terminfo.c
diffstat 2 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sun Jul 25 21:09:54 2010 +0200
+++ b/src/ChangeLog	Sun Jul 25 21:30:14 2010 +0200
@@ -1,3 +1,7 @@
+2010-07-25  Juanma Barranquero  <lekktu@gmail.com>
+
+	* terminfo.c (tparam): Fix prototype of tparm.
+
 2010-07-25  Andreas Schwab  <schwab@linux-m68k.org>
 
 	* emacs.c (main) [PROFILING]: Use __executable_start if defined to
--- a/src/terminfo.c	Sun Jul 25 21:09:54 2010 +0200
+++ b/src/terminfo.c	Sun Jul 25 21:30:14 2010 +0200
@@ -35,10 +35,12 @@
 */
 
 char *
-tparam (char *string, char *outstring, int len, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9)
+tparam (char *string, char *outstring,
+	int len, int arg1, int arg2, int arg3, int arg4,
+	int arg5, int arg6, int arg7, int arg8, int arg9)
 {
   char *temp;
-  extern char *tparm(/* ??? */);
+  extern char *tparm (char *str, ...);
 
   temp = tparm (string, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9);
   if (outstring == 0)