[1912] in Athena Bugs

home help back first fref pref prev next nref lref last post

sprintf in the C library

daemon@ATHENA.MIT.EDU (Jonathan I. Kamens)
Thu Mar 16 00:49:43 1989

Date: Thu, 16 Mar 89 00:49:29 EST
From: Jonathan I. Kamens <jik@ATHENA.MIT.EDU>
To: bugs@ATHENA.MIT.EDU

"main.c", line 41: Function redeclared (Warning #340)
   40: 
*  41: extern char *get_passwd(), *getenv(), *sprintf();
   42: extern void build_menu(), build_icon(), init_scaling();
Function 'sprintf' was previously declared as:
    extern int sprintf();
(If you continue, the previous declaration will be ignored.)



We've been getting this error message since 5.5T.  Fixing it is simply
a matter of putting a function declaration somewhere in the libraries,
isn't it?

Or am I missing something?

jik


home help back first fref pref prev next nref lref last post