]> code.delx.au - gnu-emacs/commit
Unmacroize ebrowse.c and etags.c a bit
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 12 Oct 2015 22:30:18 +0000 (15:30 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 12 Oct 2015 22:33:53 +0000 (15:33 -0700)
commit38f99a02b83e9e408970cb7abdb685725b2004f9
tree0cee2e10901a3e984e466fae8c72c1db0a953c2b
parente57a0c3d38b3e2bdd408a7e02b7308fa281f3073
Unmacroize ebrowse.c and etags.c a bit

* lib-src/ebrowse.c (READ_CHUNK_SIZE): Now an enum constant.
(streq, filename_eq, set_flag, has_flag): Now inline functions.
(set_flag): First arg is now an address, not an lvalue.
All callers changed.
(filename_eq, set_flag, has_flag):
Rename from FILENAME_EQ, SET_FLAG, HAS_FLAG.
All callers changed.
* lib-src/etags.c (streq, strcaseeq, strneq, strncaseeq):
Now inline functions.  Remove asserts that are unnecessary these
days (and in some cases were too-generous anyway).
lib-src/ebrowse.c
lib-src/etags.c