projects
/
c11tester.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
abcd7af
)
common: add error_msg() function
author
Brian Norris
<banorris@uci.edu>
Wed, 8 Aug 2012 22:00:13 +0000
(15:00 -0700)
committer
Brian Norris
<banorris@uci.edu>
Sat, 11 Aug 2012 00:24:02 +0000
(17:24 -0700)
common.h
patch
|
blob
|
history
diff --git
a/common.h
b/common.h
index 9794a92e8e8ea33a494b2772869b5171afa1bbe8..017cb4f99dd2adba81301d185efb89405cfab79e 100644
(file)
--- a/
common.h
+++ b/
common.h
@@
-26,4
+26,6
@@
do { \
} \
} while (0);
+#define error_msg(...) fprintf(stderr, "Error: " __VA_ARGS__)
+
#endif /* __COMMON_H__ */