mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2026-03-02 01:40:13 -05:00
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 <tiwai@suse.de>
This commit is contained in:
parent
5034379728
commit
13cbbe0000
1 changed files with 0 additions and 1 deletions
|
|
@ -48,7 +48,6 @@ int strstr_icase_blank(const char * const string1, const char * const string2)
|
||||||
char search_string[MAX_SEARCH_FIELD_LENGTH];
|
char search_string[MAX_SEARCH_FIELD_LENGTH];
|
||||||
char *pstr;
|
char *pstr;
|
||||||
int pos_first_non_blank;
|
int pos_first_non_blank;
|
||||||
int isblank(int c);
|
|
||||||
|
|
||||||
strncpy(search_string, string2, MAX_SEARCH_FIELD_LENGTH);
|
strncpy(search_string, string2, MAX_SEARCH_FIELD_LENGTH);
|
||||||
search_string[MAX_SEARCH_FIELD_LENGTH - 1] = '\0';
|
search_string[MAX_SEARCH_FIELD_LENGTH - 1] = '\0';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue