include fixes
[unix-history] / usr / src / bin / csh / init.c
index 30f529f..cc9f9bb 100644 (file)
@@ -1,4 +1,4 @@
-static char *sccsid = "@(#)init.c 4.2 %G%";
+static char *sccsid = "@(#)init.c 4.3 %G%";
 
 #include "sh.local.h"
 
 
 #include "sh.local.h"
 
@@ -32,7 +32,9 @@ extern        int dolet();
 extern int dolimit();
 extern int dologin();
 extern int dologout();
 extern int dolimit();
 extern int dologin();
 extern int dologout();
+#ifdef NEWGRP
 extern int donewgrp();
 extern int donewgrp();
+#endif
 extern int donice();
 extern int donotify();
 extern int donohup();
 extern int donice();
 extern int donotify();
 extern int donohup();
@@ -114,7 +116,9 @@ struct      biltins {
        "limit",        dolimit,        0,      3,
        "login",        dologin,        0,      1,
        "logout",       dologout,       0,      0,
        "limit",        dolimit,        0,      3,
        "login",        dologin,        0,      1,
        "logout",       dologout,       0,      0,
+#ifdef NEWGRP
        "newgrp",       donewgrp,       1,      1,
        "newgrp",       donewgrp,       1,      1,
+#endif
        "nice",         donice,         0,      INF,
        "nohup",        donohup,        0,      INF,
        "notify",       donotify,       0,      INF,
        "nice",         donice,         0,      INF,
        "nohup",        donohup,        0,      INF,
        "notify",       donotify,       0,      INF,