Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
2003-09-08  Ulrich Drepper  <[email protected]>

	* libio/bug-ftell.c: Include <sys/types.h>.
	(main): Mark cp as const.
  • Loading branch information
Ulrich Drepper committed Sep 8, 2003
1 parent 1ece20b commit 65b0b41
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2003-09-08 Ulrich Drepper <[email protected]>

* libio/bug-ftell.c: Include <sys/types.h>.
(main): Mark cp as const.

2003-09-07 Jakub Jelinek <[email protected]>

* sysdeps/unix/sysv/linux/syscalls.list (fcntl): Remove.
Expand Down
3 changes: 2 additions & 1 deletion libio/bug-ftell.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include <locale.h>
#include <stdio.h>
#include <wchar.h>
#include <sys/types.h>


static int
Expand All @@ -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)
{
Expand Down

0 comments on commit 65b0b41

Please sign in to comment.