diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-12-07 15:54:43 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2023-01-01 14:50:25 -0800 |
commit | 14b042d2061409540c6f645271bf562d15cc14cb (patch) | |
tree | 63cf488cdf64f5988562f1b696e032214aca2445 /main.c | |
parent | c46d912071dd8fad6c1ed532cbef26db34a639e9 (diff) | |
download | xorg-util-makedepend-14b042d2061409540c6f645271bf562d15cc14cb.tar.gz |
Make more things static that aren't needed in more than one file
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 24 |
1 files changed, 2 insertions, 22 deletions
@@ -63,28 +63,7 @@ int _debugmask; #define DASH_INC_PRE "#include \"" #define DASH_INC_POST "\"" -const char *ProgramName; - -const char *const directives[] = { - "if", - "ifdef", - "ifndef", - "else", - "endif", - "define", - "undef", - "include", - "line", - "pragma", - "error", - "ident", - "sccs", - "elif", - "eject", - "warning", - "include_next", - NULL -}; +static const char *ProgramName; #include "imakemdep.h" @@ -112,6 +91,7 @@ boolean show_where_not = FALSE; boolean warn_multiple = FALSE; static void setfile_cmdinc(struct filepointer *filep, long count, char **list); +static char *base_name(const char *file); static void redirect(const char *line, const char *makefile); static void _X_NORETURN |