summaryrefslogtreecommitdiff
path: root/mcon/U/prototype.U
diff options
context:
space:
mode:
Diffstat (limited to 'mcon/U/prototype.U')
-rw-r--r--mcon/U/prototype.U5
1 files changed, 2 insertions, 3 deletions
diff --git a/mcon/U/prototype.U b/mcon/U/prototype.U
index ec65247..f254e2c 100644
--- a/mcon/U/prototype.U
+++ b/mcon/U/prototype.U
@@ -102,10 +102,9 @@
echo " "
echo "Checking out function prototypes..." >&4
$cat >prototype.c <<'EOCP'
-int main(int argc, char *argv[]) {
- exit(0);}
+int main(int argc, char *argv[]) { (void) argc; (void) argv; return 0; }
EOCP
-if $cc $ccflags -c prototype.c >prototype.out 2>&1 ; then
+if $cc $ccflags -c prototype.c; then
echo "Your C compiler appears to support function prototypes."
val="$define"
else