[PATCH 1/2] Don't redeclare isblank().

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
---
 envy24control/strstr_icase_blank.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

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';
-- 
1.6.3.1

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux