Print this page
2944 cscope-fast/invlib.[ch] use reserved word as identifier
Reviewed by: Albert Lee <trisk@nexenta.com>
Reviewed by: Gary Mills <gary_mills@fastmail.fm>
Reviewed by: Joerg Schilling <Joerg.Schilling@fokus.fraunhofer.de>

@@ -26,11 +26,12 @@
 /*
  * Copyright 1999, 2003 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"
+#ifndef INVLIB_H
+#define INVLIB_H
 
 /* inverted index definitions */
 
 /* postings temporary file long number coding into characters */
 #define BASE            95      /* 127 - ' ' */

@@ -86,13 +87,15 @@
 
 extern  long    *srcoffset;     /* source file name database offsets */
 extern  int     nsrcoffset;     /* number of file name database offsets */
 
 extern void     boolclear(void);
-extern POSTING  *boolfile(INVCONTROL *invcntl, long *num, int bool);
+extern POSTING  *boolfile(INVCONTROL *invcntl, long *num, int op);
 extern void     invclose(INVCONTROL *invcntl);
 extern long     invfind(INVCONTROL *invcntl, char *searchterm);
 extern int      invforward(INVCONTROL *invcntl);
 extern int      invopen(INVCONTROL *invcntl, char *invname, char *invpost,
                     int stat);
 extern int      invterm(INVCONTROL *invcntl, char *term);
 extern long     invmake(char *invname, char *invpost, FILE *infile);
+
+#endif  /* INVLIB_H */