[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 01/01: Fix spurious warnings in net_db.c
From: |
Andy Wingo |
Subject: |
[Guile-commits] 01/01: Fix spurious warnings in net_db.c |
Date: |
Wed, 19 Apr 2017 10:50:06 -0400 (EDT) |
wingo pushed a commit to branch master
in repository guile.
commit 5d5d3d75d071f1f97977705b10651b356cedaa8c
Author: Andy Wingo <address@hidden>
Date: Wed Apr 19 16:48:56 2017 +0200
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.
---
libguile/guile-func-name-check | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libguile/guile-func-name-check b/libguile/guile-func-name-check
index 8b4924e..24038ac 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);