diff options
-rw-r--r-- | pw.c | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -49,19 +49,19 @@ typedef struct dstr { #define dstr_of(str) ((dstr *) ((str) - sizeof (dstr))) -char **snapshot; -int snaplines; -char *trigpat; -regex_t trigex; +static char **snapshot; +static int snaplines; +static char *trigpat; +static regex_t trigex; -grep grepstack[maxgrep]; -int ngrep; +static grep grepstack[maxgrep]; +static int ngrep; -char **cmdhist; -unsigned ncmdhist; +static char **cmdhist; +static unsigned ncmdhist; -char **pathist; -unsigned npathist; +static char **pathist; +static unsigned npathist; static void panic(const char *fmt, ...) { |