summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-31 13:12:04 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-31 13:12:04 +0100
commit5c507f172ccf9ae9c7ee0842a306300c282ec50e (patch)
tree3dd9511394313624eef4a640c94b607544cf0522 /misc
parentbf82bafcf0cdb7d3aeb5920f837c7c97da79f09b (diff)
parentec682e64339176a9fdb0a6ba5266033a982d0f24 (diff)
Merge branch 't/chflags' into refs/top-bases/tschwinge/Roger_Whittaker
Diffstat (limited to 'misc')
-rw-r--r--misc/chflags.c4
-rw-r--r--misc/fchflags.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/misc/chflags.c b/misc/chflags.c
index 3785c6b7b0..cf3b77fdf0 100644
--- a/misc/chflags.c
+++ b/misc/chflags.c
@@ -21,12 +21,12 @@
/* Change the flags of FILE to FLAGS. */
-int chflags (const char *file, int flags) __THROW;
+int chflags (const char *file, unsigned long int flags) __THROW;
int
chflags (file, flags)
const char *file;
- int flags;
+ unsigned long int flags;
{
if (file == NULL)
{
diff --git a/misc/fchflags.c b/misc/fchflags.c
index 53805eaf0e..1e61921aac 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)
{