aboutsummaryrefslogtreecommitdiffstats
path: root/packages/glibc/glibc-2.2.5/sprintf-prototype.patch
blob: 47dc672a381aaa90260b9058e067eb3afaf1347d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
#

--- glibc-2.2.5/stdio-common/sprintf.c~sprintf-prototype.patch	2004-09-03 19:00:33.000000000 -0500
+++ glibc-2.2.5/stdio-common/sprintf.c	2004-09-03 19:00:39.000000000 -0500
@@ -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;