From 6d46aca1b1b57d949d7a7bac56d3950eb024d16d Mon Sep 17 00:00:00 2001 From: David Cantrell Date: Tue, 21 Aug 2012 21:51:06 -0400 Subject: [PATCH] Fix basic compiler warnings in ccimake.c main() always returns an int. --- cde/config/imake/ccimake.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; } -- 2.25.1