diff options
author | James Youngman <jay@gnu.org> | 2016-01-03 23:20:54 +0000 |
---|---|---|
committer | James Youngman <jay@gnu.org> | 2016-01-03 23:20:54 +0000 |
commit | c83e75f548369e38e8f4c369717000552a8a1cdf (patch) | |
tree | 8a51f986c43ea4843376104cb3ee6b0e0450c227 /lib | |
parent | 44a9409d660c78cecf0e35644e98e2a9962dcae7 (diff) | |
download | findutils-c83e75f548369e38e8f4c369717000552a8a1cdf.tar.gz |
regexprops: Fix compiler warnings and update copyright years.
* lib/regexprops.c (newpara): Function parameter list should be
declared as void in the function definition, instead of leaving it
blank (C++ style). This fixes a GCC warning controlled by
-Wstrict-prototypes.
(beginenum): Likewise.
(endenum): Likewise.
(endtable): Likewise.
(copying): Update copyright years.
* doc/regexprops.texi: Update copyright years to match the output
of regexprops.c.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/regexprops.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/regexprops.c b/lib/regexprops.c index 3409b4c4..2327a646 100644 --- a/lib/regexprops.c +++ b/lib/regexprops.c @@ -127,7 +127,7 @@ begintable_markup (char const *markup) } static void -endtable () +endtable (void) { newline (); directive ("@end table"); @@ -135,7 +135,7 @@ endtable () } static void -beginenum () +beginenum (void) { newline (); directive ("@enumerate"); @@ -143,7 +143,7 @@ beginenum () } static void -endenum () +endenum (void) { newline (); directive ("@end enumerate"); @@ -151,7 +151,7 @@ endenum () } static void -newpara () +newpara (void) { content ("\n\n"); } @@ -453,8 +453,8 @@ copying (void) { static const char *copy_para[]= { - "Copyright (C) 1994, 1996, 1998, 2000, 2001, 2003, 2004, 2005, 2006," - ,"2007, 2009, 2010, 2011 Free Software Foundation, Inc." + "Copyright (C) 1994, 1996, 1998, 2000-2007, 2009-2011," + ,"2015-2016 Free Software Foundation, Inc." ,"" ,"Permission is granted to copy, distribute and/or modify this document" ,"under the terms of the GNU Free Documentation License, Version 1.3 or" |