diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d60fc240d50..17441391ea7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2016-11-25 John Baldwin + + * contrib/ari/gdb_ari.sh (no parameter function): Remove check. + 2016-11-25 Simon Marchi * Makefile.in: Fix typo. diff --git a/gdb/contrib/ari/gdb_ari.sh b/gdb/contrib/ari/gdb_ari.sh index 2ecc0d66517..e90dec853f4 100755 --- a/gdb/contrib/ari/gdb_ari.sh +++ b/gdb/contrib/ari/gdb_ari.sh @@ -567,16 +567,6 @@ Function name in first column should be restricted to function implementation" } -# Functions without any parameter should have (void) -# after their name not simply (). -BEGIN { doc["no parameter function"] = "\ -Function having no parameter should be declared with funcname (void)." - category["no parameter function"] = ari_code -} -/^[a-zA-Z][a-z0-9A-Z_]*[[:space:]]*\(\)/ { - fail("no parameter function") -} - BEGIN { doc["hash"] = "\ Do not use ` #...'\'', instead use `#...'\''(some compilers only correctly \ parse a C preprocessor directive when `#'\'' is the first character on \