summaryrefslogtreecommitdiff
path: root/lib/libc/gen/setflags.c
diff options
context:
space:
mode:
authorJosef Karthauser <joe@FreeBSD.org>2000-01-27 21:17:01 +0000
committerJosef Karthauser <joe@FreeBSD.org>2000-01-27 21:17:01 +0000
commit18c0eeddf75ea8c84360302d1d69f6856e455073 (patch)
tree71b46c36a1e229a18531be8cbc7820463e64c814 /lib/libc/gen/setflags.c
parentc299f41fd94ac69d50fe1bb6dbc005adbdaedf03 (diff)
Notes
Diffstat (limited to 'lib/libc/gen/setflags.c')
-rw-r--r--lib/libc/gen/setflags.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/gen/setflags.c b/lib/libc/gen/setflags.c
index 1bf582087ec9..7ad25c292f9a 100644
--- a/lib/libc/gen/setflags.c
+++ b/lib/libc/gen/setflags.c
@@ -69,12 +69,12 @@ static struct {
#define nmappings (sizeof(mapping) / sizeof(mapping[0]))
/*
- * flags_to_string --
+ * getflags --
* Convert stat flags to a comma-separated string. If no flags
* are set, return the default string.
*/
char *
-flags_to_string(flags, def)
+getflags(flags, def)
u_long flags;
char *def;
{
@@ -99,13 +99,13 @@ flags_to_string(flags, def)
}
/*
- * string_to_flags --
+ * setflags --
* Take string of arguments and return stat flags. Return 0 on
* success, 1 on failure. On failure, stringp is set to point
* to the offending token.
*/
int
-string_to_flags(stringp, setp, clrp)
+setflags(stringp, setp, clrp)
char **stringp;
u_long *setp, *clrp;
{