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:
Ulrich Drepper
2003-09-08 07:04:48 +00:00
parent 1ece20b462
commit 65b0b4192a
2 changed files with 7 additions and 1 deletions
+2 -1
View File
@@ -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)
{