summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-07-17 03:07:41 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-07-17 03:07:41 +0000
commit86e8a6b15ec6daefcd928a2741190e989ccc1fcf (patch)
tree5a887074d10ba9d1c78406ce6f25f36dda8bd18e /lib
parent44ba013923f50d2d53459cb3393a4fc200fb2a91 (diff)
downloadcoreutils-86e8a6b15ec6daefcd928a2741190e989ccc1fcf.tar.xz
(mode_adjust): New API.
Diffstat (limited to 'lib')
-rw-r--r--lib/modechange.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/modechange.h b/lib/modechange.h
index a94b33d4d..30a45943f 100644
--- a/lib/modechange.h
+++ b/lib/modechange.h
@@ -1,7 +1,7 @@
/* modechange.h -- definitions for file mode manipulation
- Copyright (C) 1989, 1990, 1997, 2003, 2004, 2005 Free Software
- Foundation, Inc.
+ Copyright (C) 1989, 1990, 1997, 2003, 2004, 2005, 2006 Free
+ Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -22,10 +22,12 @@
#if ! defined MODECHANGE_H_
# define MODECHANGE_H_
+# include <stdbool.h>
# include <sys/types.h>
struct mode_change *mode_compile (const char *);
struct mode_change *mode_create_from_ref (const char *);
-mode_t mode_adjust (mode_t, struct mode_change const *, mode_t);
+mode_t mode_adjust (mode_t, bool, mode_t, struct mode_change const *,
+ mode_t *);
#endif