projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make parse.h C++ safe by avoiding "or" keyword
[fio.git]
/
parse.h
diff --git
a/parse.h
b/parse.h
index 8eefff90c1e88d9b77cd2dba73e41e8e3e88b047..5273d23f6907b41db030d0090ea555f87cf0ee61 100644
(file)
--- a/
parse.h
+++ b/
parse.h
@@
-28,7
+28,7
@@
struct value_pair {
const char *ival; /* string option */
unsigned int oval; /* output value */
const char *help; /* help text for sub option */
- int or
;
/* OR value */
+ int or
val;
/* OR value */
void *cb; /* sub-option callback */
};