Added declarations for static functions
authorceriel <none@none>
Thu, 18 Nov 1993 15:38:13 +0000 (15:38 +0000)
committerceriel <none@none>
Thu, 18 Nov 1993 15:38:13 +0000 (15:38 +0000)
lang/cem/cemcom/domacro.c
lang/cem/cemcom/replace.c
lang/cem/cemcom/scan.c

index 7499b47..510816d 100644 (file)
@@ -42,6 +42,22 @@ PRIVATE char ifstack[IFDEPTH];       /* if-stack: the content of an entry is */
 
 int    nestlevel = -1;
 
+PRIVATE do_include();
+PRIVATE ifexpr();
+PRIVATE do_define();
+PRIVATE push_if();
+PRIVATE do_elif();
+PRIVATE do_else();
+PRIVATE do_endif();
+PRIVATE do_if();
+PRIVATE do_ifdef();
+PRIVATE do_undef();
+PRIVATE int getparams();
+PRIVATE char *get_text();
+PRIVATE int macroeq();
+PRIVATE SkipRestOfLine();
+PRIVATE do_line();
+
 struct idf *
 GetIdentifier()
 {
@@ -318,7 +334,6 @@ do_define()
        char *repl_text;        /* start of the replacement text        */
        int length;             /* length of the replacement text       */
        register ch;
-       char *get_text();
 
        /* read the #defined macro's name       */
        if (!(id = GetIdentifier())) {
@@ -663,7 +678,7 @@ get_text(formals, length)
        as strings, without taking care of the leading and trailing
        blanks (spaces and tabs).
 */
-PRIVATE
+PRIVATE int
 macroeq(s, t)
        register char *s, *t;
 {
index 35f1d91..81ce337 100644 (file)
@@ -28,6 +28,10 @@ extern int InputLevel;
 
 PRIVATE struct mlist   *ReplaceList;   /* list of currently active macros */
 
+PRIVATE macro_func();
+PRIVATE char *macro2buffer();
+extern char **getactuals();
+
 EXPORT int
 replace(idef)
        register struct idf *idef;
@@ -44,8 +48,8 @@ replace(idef)
        register struct macro *mac = idef->id_macro;
        register struct mlist *repl;
        register int c;
-       char **actpars, **getactuals();
-       char *reptext, *macro2buffer();
+       char **actpars;
+       char *reptext;
        int size;
 
        if (mac->mc_flag & NOREPLACE) {
index 6c295f1..3f9599b 100644 (file)
@@ -34,6 +34,8 @@ PRIVATE char *aptr;   /* pointer to last inserted character in apbuf  */
 
 PRIVATE int nr_of_params;      /* number of actuals read until now     */
 
+PRIVATE copyact();
+
 char **
 getactuals(idef)
        register struct idf *idef;