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,36 **** /* * Copyright 1999, 2003 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ ! #pragma ident "%Z%%M% %I% %E% SMI" /* inverted index definitions */ /* postings temporary file long number coding into characters */ #define BASE 95 /* 127 - ' ' */ --- 26,37 ---- /* * Copyright 1999, 2003 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ ! #ifndef INVLIB_H ! #define INVLIB_H /* inverted index definitions */ /* postings temporary file long number coding into characters */ #define BASE 95 /* 127 - ' ' */
*** 86,98 **** 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 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); --- 87,101 ---- 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 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 */