diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-06-17 15:36:26 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-06-17 15:51:54 +0200 |
commit | a15715c34309416e76ebd2007a51ff6c42f28817 (patch) | |
tree | 8794c25b33abbcd8b050fe71dbd6576949741f0e /soltools/mkdepend/parse.c | |
parent | 6fcc7efad066d6f3804196f3d3fbddd6a0a485cb (diff) |
-Wstrict-prototypes
...no reason to not have it enabled for URE C include files and what
little real C code is still left. (But note that Clang ignores that
warning.)
Change-Id: Ia6940f9f940a0c226e9b724331d65c9862ce32e6
Diffstat (limited to 'soltools/mkdepend/parse.c')
-rw-r--r-- | soltools/mkdepend/parse.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/soltools/mkdepend/parse.c b/soltools/mkdepend/parse.c index 7d95f0ad3a51..bcc5b7ed6cde 100644 --- a/soltools/mkdepend/parse.c +++ b/soltools/mkdepend/parse.c @@ -410,8 +410,7 @@ void define( def, symbols ) hash_define( def, val, symbols ); } -static int hash( str ) - register char *str; +static int hash( register char *str ) { /* Hash (Kernighan and Ritchie) */ register unsigned int hashval = 0; |