mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 17:53:37 +08:00
Update.
2003-09-08 Ulrich Drepper <drepper@redhat.com> * libio/bug-ftell.c: Include <sys/types.h>. (main): Mark cp as const.
This commit is contained in:
parent
1ece20b462
commit
65b0b4192a
@ -1,3 +1,8 @@
|
||||
2003-09-08 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* libio/bug-ftell.c: Include <sys/types.h>.
|
||||
(main): Mark cp as const.
|
||||
|
||||
2003-09-07 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/syscalls.list (fcntl): Remove.
|
||||
|
@ -1,6 +1,7 @@
|
||||
#include <locale.h>
|
||||
#include <stdio.h>
|
||||
#include <wchar.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
|
||||
static int
|
||||
@ -27,7 +28,7 @@ do_test (void)
|
||||
|
||||
rewind (fp);
|
||||
|
||||
wchar_t *cp;
|
||||
const wchar_t *cp;
|
||||
unsigned int cnt;
|
||||
for (cp = L"hello", cnt = 1; *cp != L'\0'; ++cp, ++cnt)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user