summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-12-25 22:25:00 +0100
committerJim Meyering <meyering@redhat.com>2010-01-06 11:59:06 +0100
commit289584fb1041d51f09c9b69e7ceca15558e97df4 (patch)
treeb839510c48e9bfbc9a302ebc5d4eec626284132b
parent3ba2c9926fee7e6ecbb1bcdaf77a462e4e5fe061 (diff)
downloadgrep-289584fb1041d51f09c9b69e7ceca15558e97df4.tar.gz
build: avoid shadowing warning for "link"
* src/kwset.c (link): Define to kwset_link, to avoid shadowing the function.
-rw-r--r--src/kwset.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kwset.c b/src/kwset.c
index 459f0a04..1cdaabb5 100644
--- a/src/kwset.c
+++ b/src/kwset.c
@@ -35,6 +35,8 @@
#include "kwset.h"
#include "obstack.h"
+#define link kwset_link
+
#ifdef GREP
# include "xalloc.h"
# undef malloc