changeset 27658:5980f19581dc

(pfnote, new_pfnote, C_entries, prolog_pred, erlang_func): Add `static' to definitions to keep pcc happy.
author Dave Love <fx@gnu.org>
date Thu, 10 Feb 2000 20:00:05 +0000
parents 1b0072274ea3
children 4137c807296b
files lib-src/etags.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/etags.c	Thu Feb 10 18:50:33 2000 +0000
+++ b/lib-src/etags.c	Thu Feb 10 20:00:05 2000 +0000
@@ -1576,7 +1576,7 @@
 }
 
 /* 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 @@
  * `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 @@
 }
 
 
-void
+static void
 C_entries (c_ext, inf)
      int c_ext;			/* extension of C */
      FILE *inf;			/* input file */
@@ -4429,7 +4429,7 @@
  * 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 @@
  * 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. */