From 13cbbe000051bf37e66cfc6efce5da8313126f96 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Diego=20Elio=20=27Flameeyes=27=20Petten=C3=B2?= Date: Wed, 27 May 2009 23:20:33 +0200 Subject: [PATCH] envy24control - Don't redeclare isblank(). While technically isblank() is a C library function, nothing stops it from being a macro, and indeed it seems to be on glibc-2.10. This should not be a problem because ctype.h already declares it on probably all the systems where it's used. Signed-off-by: Takashi Iwai --- envy24control/strstr_icase_blank.c | 1 - 1 file changed, 1 deletion(-) diff --git a/envy24control/strstr_icase_blank.c b/envy24control/strstr_icase_blank.c index af44854..4c325cf 100644 --- a/envy24control/strstr_icase_blank.c +++ b/envy24control/strstr_icase_blank.c @@ -48,7 +48,6 @@ int strstr_icase_blank(const char * const string1, const char * const string2) char search_string[MAX_SEARCH_FIELD_LENGTH]; char *pstr; int pos_first_non_blank; - int isblank(int c); strncpy(search_string, string2, MAX_SEARCH_FIELD_LENGTH); search_string[MAX_SEARCH_FIELD_LENGTH - 1] = '\0'; -- 2.47.1