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.U13
1 files changed, 6 insertions, 7 deletions
diff --git a/mcon/U/prototype.U b/mcon/U/prototype.U
index 294591d..ea11dbc 100644
--- a/mcon/U/prototype.U
+++ b/mcon/U/prototype.U
@@ -1,11 +1,11 @@
-?RCS: $Id: prototype.U 1 2006-08-24 12:32:52Z rmanfredi $
+?RCS: $Id: prototype.U 167 2013-05-08 17:58:00Z rmanfredi $
?RCS:
?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
?RCS:
-?RCS: You may redistribute only under the terms of the Artistic Licence,
+?RCS: You may redistribute only under the terms of the Artistic License,
?RCS: as specified in the README file that comes with the distribution.
?RCS: You may reuse parts of this distribution only within the terms of
-?RCS: that same Artistic Licence; a copy of which may be found at the root
+?RCS: that same Artistic License; a copy of which may be found at the root
?RCS: of the source tree for dist 4.0.
?RCS:
?RCS: $Log: prototype.U,v $
@@ -25,7 +25,7 @@
?MAKE: -pick add $@ %<
?S:prototype:
?S: This variable holds the eventual value of CAN_PROTOTYPE, which
-?S: indicates the C compiler can handle funciton prototypes.
+?S: indicates the C compiler can handle function prototypes.
?S:.
?C:CAN_PROTOTYPE ~ %<:
?C: If defined, this macro indicates that the C compiler can handle
@@ -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