[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[coreutils] [PATCH] maint: avoid syntax-check failure due to unused #inc
From: |
Jim Meyering |
Subject: |
[coreutils] [PATCH] maint: avoid syntax-check failure due to unused #include |
Date: |
Fri, 24 Dec 2010 15:00:43 +0100 |
I noticed that "make syntax-check" was failing:
...
src/getlimits.c
maint.mk: the above files include [<"]c-ctype.h[">] but don't use it
make[3]: *** [sc_prohibit_c_ctype_without_use] Error 1
Here's the fix:
>From 01211e9af728a5123b9cced19b7dfdc02b019f5b Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Fri, 24 Dec 2010 14:59:06 +0100
Subject: [PATCH] maint: avoid syntax-check failure due to unused #include
* src/getlimits.c: Don't include "c-ctype.h"; no longer used.
---
src/getlimits.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/src/getlimits.c b/src/getlimits.c
index 986a5d7..1eab822 100644
--- a/src/getlimits.c
+++ b/src/getlimits.c
@@ -22,7 +22,6 @@
#include <float.h>
#include "system.h"
-#include "c-ctype.h"
#include "long-options.h"
#define PROGRAM_NAME "getlimits"
--
1.7.3.3
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [coreutils] [PATCH] maint: avoid syntax-check failure due to unused #include,
Jim Meyering <=