]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/glibc/glibc-2.2.5/sscanf.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / glibc / glibc-2.2.5 / sscanf.patch
1
2 #
3 # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4 #
5
6 --- glibc-2.2.5/stdio-common/sscanf.c~sscanf.patch      2004-09-03 19:00:33.000000000 -0500
7 +++ glibc-2.2.5/stdio-common/sscanf.c   2004-09-03 19:00:39.000000000 -0500
8 @@ -1,4 +1,4 @@
9 -/* Copyright (C) 1991, 1995, 1996, 1998 Free Software Foundation, Inc.
10 +/* Copyright (C) 1991,1995,1996,1998,2002,2003 Free Software Foundation, Inc.
11     This file is part of the GNU C Library.
12  
13     The GNU C Library is free software; you can redistribute it and/or
14 @@ -27,9 +27,7 @@
15  /* Read formatted input from S, according to the format string FORMAT.  */
16  /* VARARGS2 */
17  int
18 -sscanf (s, format)
19 -     const char *s;
20 -     const char *format;
21 +sscanf (const char *s, const char *format, ...)
22  {
23    va_list arg;
24    int done;
25 --- glibc-2.2.5/libio/swprintf.c~sscanf.patch   2004-09-03 19:00:33.000000000 -0500
26 +++ glibc-2.2.5/libio/swprintf.c        2004-09-03 19:00:39.000000000 -0500
27 @@ -1,4 +1,5 @@
28 -/* Copyright (C) 1991,1995,1997,1998,1999,2000 Free Software Foundation, Inc.
29 +/* Copyright (C) 1991,1995,1997,1998,1999,2000,2003
30 +       Free Software Foundation, Inc.
31     This file is part of the GNU C Library.
32  
33     The GNU C Library is free software; you can redistribute it and/or
34 @@ -22,10 +23,7 @@
35  /* Write formatted output into S, according to the format string FORMAT.  */
36  /* VARARGS3 */
37  int
38 -swprintf (s, n, format)
39 -     wchar_t *s;
40 -     size_t n;
41 -     const wchar_t *format;
42 +swprintf (wchar_t *s, size_t n, const wchar_t *format, ...)
43  {
44    va_list arg;
45    int done;
46 --- glibc-2.2.5/libio/swscanf.c~sscanf.patch    2004-09-03 19:00:33.000000000 -0500
47 +++ glibc-2.2.5/libio/swscanf.c 2004-09-03 19:00:39.000000000 -0500
48 @@ -1,4 +1,4 @@
49 -/* Copyright (C) 1991, 1995, 1996, 1998, 1999 Free Software Foundation, Inc.
50 +/* Copyright (C) 1991,1995,1996,1998,1999,2003 Free Software Foundation, Inc.
51     This file is part of the GNU C Library.
52  
53     The GNU C Library is free software; you can redistribute it and/or
54 @@ -22,9 +22,7 @@
55  /* Read formatted input from S, according to the format string FORMAT.  */
56  /* VARARGS2 */
57  int
58 -swscanf (s, format)
59 -     const wchar_t *s;
60 -     const wchar_t *format;
61 +swscanf (const wchar_t *s, const wchar_t *format, ...)
62  {
63    va_list arg;
64    int done;