projects
/
oweals
/
cde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d32067
)
Fix basic compiler warnings in ccimake.c
author
David Cantrell
<dcantrell@redhat.com>
Wed, 22 Aug 2012 01:51:06 +0000
(21:51 -0400)
committer
David Cantrell
<dcantrell@redhat.com>
Wed, 22 Aug 2012 01:51:06 +0000
(21:51 -0400)
main() always returns an int.
cde/config/imake/ccimake.c
patch
|
blob
|
history
diff --git
a/cde/config/imake/ccimake.c
b/cde/config/imake/ccimake.c
index db76b5894b442130320288b565ffbcf44820772e..b6604a56cdf66262fe8696582ef65eafc9e983cb 100644
(file)
--- 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 <stdlib.h>
+#include <unistd.h>
-
main(
)
+
int main(void
)
{
write(1, imake_ccflags, sizeof(imake_ccflags) - 1);
-
exit(0)
;
+
return EXIT_SUCCESS
;
}