From: David Cantrell Date: Wed, 22 Aug 2012 01:51:06 +0000 (-0400) Subject: Fix basic compiler warnings in ccimake.c X-Git-Tag: 2.2.0b~65 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6d46aca1b1b57d949d7a7bac56d3950eb024d16d;p=oweals%2Fcde.git Fix basic compiler warnings in ccimake.c main() always returns an int. --- diff --git a/cde/config/imake/ccimake.c b/cde/config/imake/ccimake.c index db76b589..b6604a56 100644 --- a/cde/config/imake/ccimake.c +++ b/cde/config/imake/ccimake.c @@ -57,10 +57,11 @@ in this Software without prior written authorization from The Open Group . #endif #include +#include -main() +int main(void) { write(1, imake_ccflags, sizeof(imake_ccflags) - 1); - exit(0); + return EXIT_SUCCESS; }