projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a477e80
)
Fix parenthesization.
author
Ben Pfaff
<blp@cs.stanford.edu>
Fri, 1 Apr 2005 21:06:38 +0000
(21:06 +0000)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Fri, 1 Apr 2005 21:06:38 +0000
(21:06 +0000)
src/lib/ctype.h
patch
|
blob
|
history
diff --git
a/src/lib/ctype.h
b/src/lib/ctype.h
index 7a2c52dab14727d433f0d942ec53660306fd93bc..9096aca4dbc7f0cded660d624dd364b831cdbfc5 100644
(file)
--- a/
src/lib/ctype.h
+++ b/
src/lib/ctype.h
@@
-16,7
+16,7
@@
static inline int isspace (int c) {
static inline int isblank (int c) { return c == ' ' || c == '\t'; }
static inline int isgraph (int c) { return c > 32 && c < 127; }
static inline int isprint (int c) { return c >= 32 && c < 127; }
static inline int isblank (int c) { return c == ' ' || c == '\t'; }
static inline int isgraph (int c) { return c > 32 && c < 127; }
static inline int isprint (int c) { return c >= 32 && c < 127; }
-static inline int iscntrl (int c) { return
c >= 0 && c < 32
|| c == 127; }
+static inline int iscntrl (int c) { return
(c >= 0 && c < 32)
|| c == 127; }
static inline int isascii (int c) { return c >= 0 && c < 128; }
static inline int ispunct (int c) {
return isprint (c) && !isalnum (c) && !isspace (c);
static inline int isascii (int c) { return c >= 0 && c < 128; }
static inline int ispunct (int c) {
return isprint (c) && !isalnum (c) && !isspace (c);