summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/diff3.c6
-rw-r--r--src/system.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/diff3.c b/src/diff3.c
index 01e8ecd..09d987f 100644
--- a/src/diff3.c
+++ b/src/diff3.c
@@ -88,7 +88,7 @@ struct diff_block {
char **lines[2]; /* The actual lines (may contain nulls) */
size_t *lengths[2]; /* Line lengths (including newlines, if any) */
struct diff_block *next;
-#ifdef lint
+#ifdef GCC_LINT
struct diff_block *n2; /* Used only when freeing. */
#endif
};
@@ -228,7 +228,7 @@ static struct option const longopts[] =
static void
free_diff_block (struct diff_block *p)
{
-#ifndef lint
+#ifndef GCC_LINT
(void)p;
#else
while (p)
@@ -249,7 +249,7 @@ free_diff_block (struct diff_block *p)
static void
next_to_n2 (struct diff_block *p)
{
-#ifndef lint
+#ifndef GCC_LINT
(void)p;
#else
while (p)
diff --git a/src/system.h b/src/system.h
index 1e7c288..b6d86a9 100644
--- a/src/system.h
+++ b/src/system.h
@@ -21,7 +21,7 @@
#include <config.h>
/* Use this to suppress gcc's "...may be used before initialized" warnings. */
-#ifdef lint
+#ifdef GCC_LINT
# define IF_LINT(Code) Code
#else
# define IF_LINT(Code) /* empty */