From 65b0b4192aa2fffa77c8ee8aeb3993eaf4b969ee Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 8 Sep 2003 07:04:48 +0000 Subject: [PATCH] Update. 2003-09-08 Ulrich Drepper * libio/bug-ftell.c: Include . (main): Mark cp as const. --- ChangeLog | 5 +++++ libio/bug-ftell.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5608b20..9e54f10 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-09-08 Ulrich Drepper + + * libio/bug-ftell.c: Include . + (main): Mark cp as const. + 2003-09-07 Jakub Jelinek * sysdeps/unix/sysv/linux/syscalls.list (fcntl): Remove. diff --git a/libio/bug-ftell.c b/libio/bug-ftell.c index f7a9a77..7eb0f46 100644 --- a/libio/bug-ftell.c +++ b/libio/bug-ftell.c @@ -1,6 +1,7 @@ #include #include #include +#include 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) { -- 2.7.4