Branch: Tag:

2015-04-19

2015-04-19 19:08:45 by Martin Nilsson <nilsson@opera.com>

static is always static.

220:   /*    * Forward declarations for regcomp()'s friends.    */ - #ifndef STATIC - #define STATIC static - #endif - STATIC char *reg(int, int *); - STATIC char *regbranch(int *); - STATIC char *regpiece(int *); - STATIC char *regatom(int *); - STATIC char *regnode(char); - STATIC char *regnext(register char *); - STATIC void regc(char b); - STATIC void reginsert(char, char *); - STATIC void regtail(char *, char *); - STATIC void regoptail(char *, char *); + static char *reg(int, int *); + static char *regbranch(int *); + static char *regpiece(int *); + static char *regatom(int *); + static char *regnode(char); + static char *regnext(register char *); + static void regc(char b); + static void reginsert(char, char *); + static void regtail(char *, char *); + static void regoptail(char *, char *);      /*    - regcomp - compile a regular expression into internal code
771:   /*    * Forwards.    */ - STATIC int regtry(regexp *, char *); - STATIC int regmatch(char *); - STATIC ptrdiff_t regrepeat(char *); + static int regtry(regexp *, char *); + static int regmatch(char *); + static ptrdiff_t regrepeat(char *);      #ifdef PIKE_DEBUG   int regnarrate = 0;   void regdump(regexp *); - STATIC char *regprop(char *op); + static char *regprop(char *op);   #endif      /*
1122: Inside #if defined(PIKE_DEBUG)
     #ifdef PIKE_DEBUG    - STATIC char *regprop(char *); + static char *regprop(char *);      /*    - regdump - dump a regexp onto stdout in vaguely comprehensible form