summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/powerpc
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-03-16 01:04:03 +0000
committerRoland McGrath <roland@gnu.org>2003-03-16 01:04:03 +0000
commit638bb1f3941f1714659150a2202627d3820d6b05 (patch)
treea101f92e76c6b8f0f94606a23480a4712850eb4a /sysdeps/unix/sysv/linux/powerpc
parente993ec9a5b59d64e7037182376f3928af752ccf3 (diff)
downloadglibc-638bb1f3941f1714659150a2202627d3820d6b05.tar.gz
* nscd/cache.c (cache_search): Give first arg type `request_type'.
* nscd/nscd.h: Update decl. * nscd/nscd_getpw_r.c (nscd_getpw_r): Add casts for signedness. * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. * elf/dl-close.c (_dl_close): Likewise. * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown): int -> size_t * io/fts.c (fts_build): Likewise. * elf/cache.c (add_to_cache): Likewise. * locale/programs/locarchive.c (show_archive_content): Likewise. * posix/fnmatch.c (fnmatch): Tweak __builtin_expect use. * include/ctype.h (__ctype_b_loc): Tweak type punning to make gcc 3.3 happy. (__ctype_toupper_loc, __ctype_tolower_loc): Likewise.
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc')
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/chown.c6
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/chown.c b/sysdeps/unix/sysv/linux/powerpc/chown.c
index 797b41f01c..182c5e787a 100644
--- a/sysdeps/unix/sysv/linux/powerpc/chown.c
+++ b/sysdeps/unix/sysv/linux/powerpc/chown.c
@@ -1,5 +1,5 @@
/* chown() compatibility.
- Copyright (C) 1998, 2000, 2002 Free Software Foundation, Inc.
+ Copyright (C) 1998, 2000, 2002, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -42,7 +42,7 @@ __chown (const char *file, uid_t owner, gid_t group)
char link[PATH_MAX+2];
char path[2*PATH_MAX+4];
int loopct;
- int filelen;
+ size_t filelen;
static int libc_old_chown = 0 /* -1=old linux, 1=new linux, 0=unknown */;
if (libc_old_chown == 1)
@@ -82,7 +82,7 @@ __chown (const char *file, uid_t owner, gid_t group)
ENAMETOOLONG before this, usually. */
for (loopct = 0; loopct < 128; loopct++)
{
- int linklen;
+ size_t linklen;
if (err >= PATH_MAX+1)
{
diff --git a/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c b/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
index 64e4e2c4d3..a548a96325 100644
--- a/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
+++ b/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
@@ -69,4 +69,4 @@ weak_extern (__cache_line_size)
} while (0)
#endif
-#include_next <sysdeps/unix/sysv/linux/dl-sysdep.c>
+#include <sysdeps/unix/sysv/linux/dl-sysdep.c>