diff options
author | Yuri <yuri@tsoft.com> | 2014-07-17 14:07:30 -0700 |
---|---|---|
committer | Will Estes <westes575@gmail.com> | 2014-07-25 08:13:41 -0400 |
commit | 8091dc907663673d9e0295c57fa446bdd38e9fab (patch) | |
tree | 063e06f9b2bb814113c24b103ff34963db880f1d /src/flexdef.h | |
parent | 3e0d96af4c72ed2ab3f6650713ff24689ac936c7 (diff) |
Removed deprecated 'register' storage class specifier.
clang-3.5.0 now complains about them: warning: 'register' storage class specifier is deprecated [-Wdeprecated-register]
Diffstat (limited to 'src/flexdef.h')
-rw-r--r-- | src/flexdef.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/flexdef.h b/src/flexdef.h index 132812b..693f9f9 100644 --- a/src/flexdef.h +++ b/src/flexdef.h @@ -844,10 +844,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 *)); @@ -859,10 +859,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 *)); @@ -988,7 +988,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)); |