1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-29 19:30:36 +02:00

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.
This commit is contained in:
Andy Wingo 2017-04-19 16:48:56 +02:00
parent a7428a3172
commit 5d5d3d75d0

View file

@ -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);