[BACK]Return to defs.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / yacc

Diff for /src/usr.bin/yacc/defs.h between version 1.13 and 1.14

version 1.13, 2014/01/08 21:40:25 version 1.14, 2014/01/08 22:30:32
Line 137 
Line 137 
   
 /*  storage allocation macros  */  /*  storage allocation macros  */
   
 #define NEW(t)          ((t*)allocate(sizeof(t)))  #define NEW(t)          (allocate(sizeof(t)))
 #define NEW2(n,t)       ((t*)allocate((unsigned)((n)*sizeof(t))))  #define NEW2(n,t)       (allocate((n)*sizeof(t)))
   
   
 /*  the structure of a symbol table entry  */  /*  the structure of a symbol table entry  */
Line 305 
Line 305 
   
 /* global functions */  /* global functions */
   
 extern char *allocate();  extern void *allocate(size_t);
 extern bucket *lookup();  extern bucket *lookup(char *);
 extern bucket *make_bucket();  extern bucket *make_bucket(char *);
 extern void set_first_derives(void);  extern void set_first_derives(void);
 extern void closure(short *, int);  extern void closure(short *, int);
 extern void finalize_closure(void);  extern void finalize_closure(void);

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14