From 65b0b4192aa2fffa77c8ee8aeb3993eaf4b969ee Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 8 Sep 2003 07:04:48 +0000 Subject: Update. 2003-09-08 Ulrich Drepper * libio/bug-ftell.c: Include . (main): Mark cp as const. --- libio/bug-ftell.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libio/bug-ftell.c') 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) { -- cgit v1.1