]> git.alsa-project.org Git - alsa-tools.git/commitdiff
envy24control - Don't redeclare isblank().
authorDiego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com>
Wed, 27 May 2009 21:20:33 +0000 (23:20 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 29 May 2009 10:27:24 +0000 (12:27 +0200)
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 <tiwai@suse.de>
envy24control/strstr_icase_blank.c

index af44854e1cc38263a798f18b341b2d8cdf2219cc..4c325cf9e7c70d5a13b6c96b62bad7faf9f6d6ad 100644 (file)
@@ -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';