/[global]/global/gtags-parser/gctags.c
ViewVC logotype

Diff of /global/gtags-parser/gctags.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by shigio, Tue May 10 05:17:52 2005 UTC revision 1.6 by shigio, Tue Oct 4 07:59:04 2005 UTC
# Line 103  static struct lang_entry lang_switch[] = Line 103  static struct lang_entry lang_switch[] =
103   *      r)              language entry   *      r)              language entry
104   */   */
105  static struct lang_entry *  static struct lang_entry *
106  get_lang_entry(lang)  get_lang_entry(const char *lang)
         const char *lang;  
107  {  {
108          int i, size = sizeof(lang_switch) / sizeof(struct lang_entry);          int i, size = sizeof(lang_switch) / sizeof(struct lang_entry);
109    
# Line 156  static struct option const long_options[ Line 155  static struct option const long_options[
155  };  };
156    
157  int  int
158  main(argc, argv)  main(int argc, char **argv)
         int argc;  
         char **argv;  
159  {  {
160          char *p;          char *p;
161          int optchar;          int optchar;
# Line 303  main(argc, argv) Line 300  main(argc, argv)
300  }  }
301    
302  int  int
303  cmp(s1, s2)  cmp(const void *s1, const void *s2)
         const void *s1, *s2;  
304  {  {
305          return strcmp(((struct words *)s1)->name, ((struct words *)s2)->name);          return strcmp(((struct words *)s1)->name, ((struct words *)s2)->name);
306  }  }
307    
308  int  int
309  isnotfunction(name)  isnotfunction(char *name)
         char *name;  
310  {  {
311          struct words tmp;          struct words tmp;
312          struct words *result;          struct words *result;
# Line 324  isnotfunction(name) Line 319  isnotfunction(name)
319  }  }
320    
321  void  void
322  dbg_print(level, s)  dbg_print(int level, const char *s)
         int level;  
         const char *s;  
323  {  {
324          if (!debug)          if (!debug)
325                  return;                  return;

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26