don't use "void"!
This commit is contained in:
parent
60f9d1b6c6
commit
4549b5129d
|
@ -13,7 +13,7 @@
|
||||||
/* #define XXX_YYY /* only for early debugging */
|
/* #define XXX_YYY /* only for early debugging */
|
||||||
|
|
||||||
#ifdef XXX_YYY
|
#ifdef XXX_YYY
|
||||||
#define out(str) ((void) sys_write(STDOUT, str, strlen(str)))
|
#define out(str) (sys_write(STDOUT, str, strlen(str)))
|
||||||
#else
|
#else
|
||||||
#define out(s)
|
#define out(s)
|
||||||
#endif
|
#endif
|
||||||
|
@ -123,7 +123,7 @@ checkeol()
|
||||||
|
|
||||||
if (nospace() != '\n') {
|
if (nospace() != '\n') {
|
||||||
syntax("end of line expected");
|
syntax("end of line expected");
|
||||||
(void) nospace();
|
nospace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue