This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
We use ... in stdio-common/fprintf.c. Wny not do it for stdio-common/sprintf.c? -- H.J. Lu (hjl@gnu.org) -- 2000-10-16 H.J. Lu <hjl@gnu.org> * stdio-common/sprintf.c (sprintf): Use ISO C. Index: stdio-common/sprintf.c =================================================================== RCS file: /work/cvs/gnu/glibc/stdio-common/sprintf.c,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 sprintf.c --- stdio-common/sprintf.c 2000/05/21 21:11:25 1.1.1.1 +++ stdio-common/sprintf.c 2000/10/16 17:53:56 @@ -27,9 +27,7 @@ /* Write formatted output into S, according to the format string FORMAT. */ /* VARARGS2 */ int -sprintf (s, format) - char *s; - const char *format; +sprintf (char *s, const char *format, ...) { va_list arg; int done;
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |