diff options
author | 2011-12-31 14:05:51 +0000 | |
---|---|---|
committer | 2011-12-31 14:05:51 +0000 | |
commit | 5c797a001299fb6cd8c6b562e271346c92db640f (patch) | |
tree | 9f5d520e1ba72b8e0b6e73fe891796021c1a3552 /usr.sbin/user/main.c | |
parent | Add rsu(4) to the sgi GENERICs (but not the RAMDISKs as it requires firmware (diff) | |
download | wireguard-openbsd-5c797a001299fb6cd8c6b562e271346c92db640f.tar.xz wireguard-openbsd-5c797a001299fb6cd8c6b562e271346c92db640f.zip |
Remove the EXTENSIONS ifdef danse; it might have made sense in the past
but user(8) behaviour has become OS specific in time so there's no
sense keeping this. We are OpenBSD and we use BSD EXTENSIONS
unconditionally.
ok miod@ millert@ deraadt@
Diffstat (limited to 'usr.sbin/user/main.c')
-rw-r--r-- | usr.sbin/user/main.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.sbin/user/main.c b/usr.sbin/user/main.c index 3b9e70b23b5..6e7d7612ef1 100644 --- a/usr.sbin/user/main.c +++ b/usr.sbin/user/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.6 2003/06/08 22:13:01 millert Exp $ */ +/* $OpenBSD: main.c,v 1.7 2011/12/31 14:05:51 ajacoutot Exp $ */ /* $NetBSD: main.c,v 1.3 2002/07/09 10:34:16 tron Exp $ */ /* @@ -58,20 +58,16 @@ static cmd_t cmds[] = { { 2, { "user", "mod" }, usermod }, { 1, { "userdel", NULL }, userdel }, { 2, { "user", "del" }, userdel }, -#ifdef EXTENSIONS { 1, { "userinfo", NULL }, userinfo }, { 2, { "user", "info" }, userinfo }, -#endif { 1, { "groupadd", NULL }, groupadd }, { 2, { "group", "add" }, groupadd }, { 1, { "groupmod", NULL }, groupmod }, { 2, { "group", "mod" }, groupmod }, { 1, { "groupdel", NULL }, groupdel }, { 2, { "group", "del" }, groupdel }, -#ifdef EXTENSIONS { 1, { "groupinfo", NULL }, groupinfo }, { 2, { "group", "info" }, groupinfo }, -#endif { 0 } }; |