diff options
author | Andy Wingo <wingo@pobox.com> | 2017-04-19 16:48:56 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2017-04-19 16:48:56 +0200 |
commit | 5d5d3d75d071f1f97977705b10651b356cedaa8c (patch) | |
tree | f520593969896b4e0cace710008738b7d43f990b /libguile/guile-func-name-check | |
parent | a7428a3172445f1265199ae3a1dc94cbb7d0551e (diff) | |
download | guile-5d5d3d75d071f1f97977705b10651b356cedaa8c.tar.gz |
Fix spurious warnings in net_db.c
* libguile/guile-func-name-check (/^SCM_DEFINE /): Fix pattern to not
produce spurious warnings. Thanks to Dale Smith for the suggestion.
Fixes https://bugs.gnu.org/26123.
Diffstat (limited to 'libguile/guile-func-name-check')
-rw-r--r-- | libguile/guile-func-name-check | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libguile/guile-func-name-check b/libguile/guile-func-name-check index 8b4924e91..24038acad 100644 --- a/libguile/guile-func-name-check +++ b/libguile/guile-func-name-check @@ -1,6 +1,6 @@ #!/usr/bin/awk -f # -# Copyright (C) 2000, 2001, 2006 Free Software Foundation, Inc. +# Copyright (C) 2000, 2001, 2006, 2017 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as @@ -25,7 +25,7 @@ BEGIN { in_a_func = 0; } -/^SCM_DEFINE/ { +/^SCM_DEFINE / { func_name = $0; sub(/^[^\(\n]*\([ \t]*/,"", func_name); sub(/[ \t]*,.*/,"", func_name); |