Changeset 121


Ignore:
Timestamp:
Jun 9, 2007, 9:30:52 PM (18 years ago)
Author:
Brendan Oakley
Message:

Change ctype functions from hacked EMX to OpenWatcom runtime.

Location:
GPL/trunk
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk/alsa-kernel/core/init.c

    r34 r121  
    2121
    2222#include <sound/driver.h>
     23#include <linux/ctype.h>
    2324#include <sound/control.h>
    2425#include <sound/info.h>
     
    371372        }
    372373        id = card->id;
    373         while (*spos != '\0' && !isalnum1(*spos))
     374        while (*spos != '\0' && !isalnum(*spos))
    374375                spos++;
    375         if (isdigit1(*spos))
    376                 *id++ = isalpha1(card->shortname[0]) ? card->shortname[0] : 'D';
     376        if (isdigit(*spos))
     377                *id++ = isalpha(card->shortname[0]) ? card->shortname[0] : 'D';
    377378        while (*spos != '\0' && (size_t)(id - card->id) < sizeof(card->id) - 1) {
    378                 if (isalnum1(*spos))
     379                if (isalnum(*spos))
    379380                        *id++ = *spos;
    380381                spos++;
Note: See TracChangeset for help on using the changeset viewer.