diff options
author | jkim <jkim@FreeBSD.org> | 2013-05-21 19:11:11 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2013-05-21 19:11:11 +0000 |
commit | af3aaf871a18c81e9986f6470064ec11a6d7ef1a (patch) | |
tree | db324438fe5e24d91a790f6cf907e699c942bbc0 /contrib/flex/flexdef.h | |
parent | e2a508e1d1ac5da23d6007aedaff12dba4def7d7 (diff) | |
download | FreeBSD-src-af3aaf871a18c81e9986f6470064ec11a6d7ef1a.zip FreeBSD-src-af3aaf871a18c81e9986f6470064ec11a6d7ef1a.tar.gz |
Apply still relevant local changes.
r124183: Work around a `label defined but not used' warning.
r179549: De-register declarations.
r179657: De-register declarations in non-dot-c files.
r181269: Mark yy_fatal_error() as __dead2.
r228992: Spelling fixes.
r240518: Correct double "the the".
Diffstat (limited to 'contrib/flex/flexdef.h')
-rw-r--r-- | contrib/flex/flexdef.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/contrib/flex/flexdef.h b/contrib/flex/flexdef.h index 046dd9a..1f03d5a 100644 --- a/contrib/flex/flexdef.h +++ b/contrib/flex/flexdef.h @@ -380,7 +380,7 @@ char *alloca (); * use_read - if true (-f, -F, or -Cr) then use read() for scanner input; * otherwise, use fread(). * yytext_is_array - if true (i.e., %array directive), then declare - * yytext as a array instead of a character pointer. Nice and inefficient. + * yytext as an array instead of a character pointer. Nice and inefficient. * do_yywrap - do yywrap() processing on EOF. If false, EOF treated as * "no more files". * csize - size of character set for the scanner we're generating; @@ -843,10 +843,10 @@ extern void action_define PROTO ((const char *defname, int value)); extern void add_action PROTO ((const char *new_text)); /* True if a string is all lower case. */ -extern int all_lower PROTO ((register char *)); +extern int all_lower PROTO ((char *)); /* True if a string is all upper case. */ -extern int all_upper PROTO ((register char *)); +extern int all_upper PROTO ((char *)); /* Compare two integers for use by qsort. */ extern int intcmp PROTO ((const void *, const void *)); @@ -858,10 +858,10 @@ extern void check_char PROTO ((int c)); extern Char clower PROTO ((int)); /* Returns a dynamically allocated copy of a string. */ -extern char *copy_string PROTO ((register const char *)); +extern char *copy_string PROTO ((const char *)); /* Returns a dynamically allocated copy of a (potentially) unsigned string. */ -extern Char *copy_unsigned_string PROTO ((register Char *)); +extern Char *copy_unsigned_string PROTO ((Char *)); /* Compare two characters for use by qsort with '\0' sorting last. */ extern int cclcmp PROTO ((const void *, const void *)); @@ -922,7 +922,7 @@ extern void mark_defs1 PROTO ((void)); /* Mark the current position in the action array as the end of the prolog. */ extern void mark_prolog PROTO ((void)); -/* Generate a data statment for a two-dimensional array. */ +/* Generate a data statement for a two-dimensional array. */ extern void mk2data PROTO ((int)); extern void mkdata PROTO ((int)); /* generate a data statement */ @@ -987,7 +987,7 @@ extern int link_machines PROTO ((int, int)); /* Mark each "beginning" state in a machine as being a "normal" (i.e., * not trailing context associated) state. */ -extern void mark_beginning_as_normal PROTO ((register int)); +extern void mark_beginning_as_normal PROTO ((int)); /* Make a machine that branches to two machines. */ extern int mkbranch PROTO ((int, int)); |