diff options
author | Noel Grandin <noel@peralex.com> | 2014-06-24 07:44:01 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-24 15:30:16 +0000 |
commit | 290b7e0632921ca0c204eb91c8ebfd253813f137 (patch) | |
tree | 4a8ff8a4bf17a7c5f01f8d09f1ffe1e294351818 /soltools/mkdepend/cppsetup.c | |
parent | webdav: Do not call into DAVResourceAccess with mutex locked. (diff) | |
download | core-290b7e0632921ca0c204eb91c8ebfd253813f137.tar.gz core-290b7e0632921ca0c204eb91c8ebfd253813f137.zip |
remove use of register keyword in C files
C compilers have been ignoring it for the last decade
Change-Id: I42918263121dd189bab9d27077798b779b9e8da1
Reviewed-on: https://gerrit.libreoffice.org/9873
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'soltools/mkdepend/cppsetup.c')
-rw-r--r-- | soltools/mkdepend/cppsetup.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/soltools/mkdepend/cppsetup.c b/soltools/mkdepend/cppsetup.c index 7d967741b14f..9f6dc63e2f66 100644 --- a/soltools/mkdepend/cppsetup.c +++ b/soltools/mkdepend/cppsetup.c @@ -61,11 +61,11 @@ struct filepointer *currentfile; struct inclist *currentinc; cppsetup(line, filep, inc) - register char *line; - register struct filepointer *filep; - register struct inclist *inc; + char *line; + struct filepointer *filep; + struct inclist *inc; { - register char *p, savec; + char *p, savec; static boolean setupdone = FALSE; boolean value; @@ -105,7 +105,7 @@ pperror(tag, x0,x1,x2,x3,x4) yyerror(s) - register char *s; + char *s; { fatalerr("Fatal error: %s\n", s); } @@ -198,9 +198,9 @@ _my_eval_variable (IfParser *ip, const char *var, int len) int cppsetup(line, filep, inc) - register char *line; - register struct filepointer *filep; - register struct inclist *inc; + char *line; + struct filepointer *filep; + struct inclist *inc; { IfParser ip; struct _parse_data pd; |