sh: ANSIfy builtins.c
authorAlan Cox <alan@linux.intel.com>
Sun, 10 May 2015 22:19:51 +0000 (23:19 +0100)
committerAlan Cox <alan@linux.intel.com>
Sun, 10 May 2015 22:19:51 +0000 (23:19 +0100)
Applications/V7/cmd/sh/builtin.c
Applications/V7/cmd/sh/defs.h

index 47de3ef..606ba47 100644 (file)
@@ -1,6 +1,8 @@
 /* UNIX V7 source code: see /COPYRIGHT or www.tuhs.org for details. */
 
-builtin()
+#include "defs.h"
+
+int builtin(int argn, STRING *cmd)
 {
        return (0);
 }
index 5c338a8..201817a 100644 (file)
@@ -303,3 +303,5 @@ ADDRESS alloc(POS nbytes);
 extern void addblok(POS reqd);
 extern void free(void *ap);    /* FIXME: rename sh_free */
 extern chkbptr(BLKPTR ptr);
+/* builtin.c */
+extern int builtin(int argn, STRING *cmd);