From 0dacfc4b8ac0ff4b4f1e68b2ade58d79407be582 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Thu, 10 Feb 2000 20:00:05 +0000 Subject: [PATCH] (pfnote, new_pfnote, C_entries, prolog_pred, erlang_func): Add `static' to definitions to keep pcc happy. --- lib-src/etags.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib-src/etags.c b/lib-src/etags.c index bbc3f690511..2a4ce864405 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c @@ -1576,7 +1576,7 @@ find_entries (file, inf) } /* Record a tag. */ -void +static void pfnote (name, is_func, linestart, linelen, lno, cno) char *name; /* tag name, or NULL if unnamed */ bool is_func; /* tag is a function */ @@ -1646,7 +1646,7 @@ pfnote (name, is_func, linestart, linelen, lno, cno) * `nonam'. */ #define traditional_tag_style TRUE -void +static void new_pfnote (name, namelen, is_func, linestart, linelen, lno, cno) char *name; /* tag name, or NULL if unnamed */ int namelen; /* tag length */ @@ -2606,7 +2606,7 @@ make_C_tag (isfun) } -void +static void C_entries (c_ext, inf) int c_ext; /* extension of C */ FILE *inf; /* input file */ @@ -4429,7 +4429,7 @@ prolog_skip_comment (plb, inf) * Return the size of the name of the predicate, or 0 if no header * was found. */ -int +static int prolog_pred (s, last) char *s; char *last; /* Name of last clause. */ @@ -4586,7 +4586,7 @@ Erlang_functions (inf) * Return the size of the name of the function, or 0 if no function * was found. */ -int +static int erlang_func (s, last) char *s; char *last; /* Name of last clause. */ -- 2.39.5