Print this page
12724 update smatch to 0.6.1-rc1-il-5

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/smatch/src/token.h
          +++ new/usr/src/tools/smatch/src/token.h
↓ open down ↓ 210 lines elided ↑ open up ↑
 211  211  /*
 212  212   * Last token in the stream - points to itself.
 213  213   * This allows us to not test for NULL pointers
 214  214   * when following the token->next chain..
 215  215   */
 216  216  extern struct token eof_token_entry;
 217  217  #define eof_token(x) ((x) == &eof_token_entry)
 218  218  
 219  219  extern int init_stream(const char *, int fd, const char **next_path);
 220  220  extern const char *stream_name(int stream);
      221 +struct ident *alloc_ident(const char *name, int len);
 221  222  extern struct ident *hash_ident(struct ident *);
 222  223  extern struct ident *built_in_ident(const char *);
 223  224  extern struct token *built_in_token(int, struct ident *);
 224  225  extern const char *show_special(int);
 225  226  extern const char *show_ident(const struct ident *);
 226  227  extern const char *show_string(const struct string *string);
 227  228  extern const char *show_token(const struct token *);
 228  229  extern const char *quote_token(const struct token *);
 229  230  extern struct token * tokenize(const char *, int, struct token *, const char **next_path);
 230  231  extern struct token * tokenize_buffer(void *, unsigned long, struct token **);
↓ open down ↓ 25 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX