about summary refs log tree commit diff
path: root/misc/fchflags.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2015-02-07 21:56:15 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2015-02-07 21:56:15 +0100
commit5d2556c4fa4629b1c3adf59f29c699f00d4122ea (patch)
tree38d8e377f3bd66280aaaab51a706a73bf7383aed /misc/fchflags.c
parente2049d17a0fe36e07cbd944504fa6c8fe68832bf (diff)
downloadglibc-5d2556c4fa4629b1c3adf59f29c699f00d4122ea.tar.gz
glibc-5d2556c4fa4629b1c3adf59f29c699f00d4122ea.tar.xz
glibc-5d2556c4fa4629b1c3adf59f29c699f00d4122ea.zip
hurd: fix f?chflags prototypes, declare them and their flags
Diffstat (limited to 'misc/fchflags.c')
-rw-r--r--misc/fchflags.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/fchflags.c b/misc/fchflags.c
index 32234613d9..b9f267583b 100644
--- a/misc/fchflags.c
+++ b/misc/fchflags.c
@@ -21,12 +21,12 @@
 
 /* Change the flags of the file referenced by FD to FLAGS.  */
 
-int fchflags (int fd, int flags) __THROW;
+int fchflags (int fd, unsigned long int flags) __THROW;
 
 int
 fchflags (fd, flags)
      int fd;
-     int flags;
+     unsigned long int flags;
 {
   if (fd < 0)
     {