diff options
author | Richard Basch <probe@mit.edu> | 1993-11-19 10:08:05 +0000 |
---|---|---|
committer | Richard Basch <probe@mit.edu> | 1993-11-19 10:08:05 +0000 |
commit | 508bac106c39250017c3b29c1fcb7d720d75ffd0 (patch) | |
tree | 3e3d6bd2cc2abd3a5b86509bb1c27e3e6218b643 /zwgc/character_class.c | |
parent | e740a1d93355d9a88e43b1e146adda3c20fd1fa8 (diff) |
Use memset [ANSI]
Diffstat (limited to 'zwgc/character_class.c')
-rw-r--r-- | zwgc/character_class.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zwgc/character_class.c b/zwgc/character_class.c index 0b6be74..2a3f2c6 100644 --- a/zwgc/character_class.c +++ b/zwgc/character_class.c @@ -33,7 +33,7 @@ char * string_to_character_class(str) { int i; - _BZERO(cache, sizeof(cache)); + (void) memset(cache, 0, sizeof(cache)); for (i=0; i<strlen(str); i++) cache[str[i]] = 1; |