diff options
Diffstat (limited to 'libio')
-rw-r--r-- | libio/iofputws.c | 4 | ||||
-rw-r--r-- | libio/iofputws_u.c | 4 | ||||
-rw-r--r-- | libio/iogetwline.c | 4 | ||||
-rw-r--r-- | libio/swprintf.c | 4 |
4 files changed, 10 insertions, 6 deletions
diff --git a/libio/iofputws.c b/libio/iofputws.c index daad1b9836..db8ce05897 100644 --- a/libio/iofputws.c +++ b/libio/iofputws.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1993, 1996, 1997, 1998, 1999 Free Software Foundation, Inc. +/* Copyright (C) 1993,1996,1997,1998,1999,2000 Free Software Foundation, Inc. This file is part of the GNU IO Library. This library is free software; you can redistribute it and/or @@ -31,7 +31,7 @@ fputws (str, fp) const wchar_t *str; _IO_FILE *fp; { - _IO_size_t len = wcslen (str); + _IO_size_t len = __wcslen (str); int result = EOF; CHECK_FILE (fp, EOF); _IO_cleanup_region_start ((void (*) __P ((void *))) _IO_funlockfile, fp); diff --git a/libio/iofputws_u.c b/libio/iofputws_u.c index a5749cdbec..6219d96976 100644 --- a/libio/iofputws_u.c +++ b/libio/iofputws_u.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1993, 1996, 1997, 1998, 1999 Free Software Foundation, Inc. +/* Copyright (C) 1993,1996,1997,1998,1999,2000 Free Software Foundation, Inc. This file is part of the GNU IO Library. This library is free software; you can redistribute it and/or @@ -32,7 +32,7 @@ fputws_unlocked (str, fp) const wchar_t *str; _IO_FILE *fp; { - _IO_size_t len = wcslen (str); + _IO_size_t len = __wcslen (str); int result = EOF; CHECK_FILE (fp, EOF); if (_IO_fwide (fp, 1) == 1 diff --git a/libio/iogetwline.c b/libio/iogetwline.c index 760d54a013..2d9eca0edc 100644 --- a/libio/iogetwline.c +++ b/libio/iogetwline.c @@ -27,6 +27,10 @@ #include <string.h> #include <wchar.h> +#ifdef _LIBC +# define wmemcpy __wmemcpy +#endif + #if defined _LIBC || !_G_HAVE_IO_GETLINE_INFO _IO_size_t diff --git a/libio/swprintf.c b/libio/swprintf.c index f0cb637b27..b5112e4e1c 100644 --- a/libio/swprintf.c +++ b/libio/swprintf.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1995, 1997, 1998, 1999 Free Software Foundation, Inc. +/* Copyright (C) 1991,1995,1997,1998,1999,2000 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -31,7 +31,7 @@ swprintf (s, n, format) int done; va_start (arg, format); - done = vswprintf (s, n, format, arg); + done = __vswprintf (s, n, format, arg); va_end (arg); return done; |