date and time created 91/05/12 22:30:02 by william
[unix-history] / usr / src / old / machine / machine.c
index ebdb314..8bdc325 100644 (file)
@@ -1,32 +1,24 @@
 /*
  * Copyright (c) 1986 Regents of the University of California.
 /*
  * Copyright (c) 1986 Regents of the University of California.
- * All rights reserved.  The Berkeley software License Agreement
- * specifies the terms and conditions for redistribution.
+ * All rights reserved.
+ *
+ * %sccs.include.redist.c%
  */
 
 #ifndef lint
 char copyright[] =
 "@(#) Copyright (c) 1986 Regents of the University of California.\n\
  All rights reserved.\n";
  */
 
 #ifndef lint
 char copyright[] =
 "@(#) Copyright (c) 1986 Regents of the University of California.\n\
  All rights reserved.\n";
-#endif not lint
+#endif /* not lint */
 
 #ifndef lint
 
 #ifndef lint
-static char sccsid[] = "@(#)machine.c  5.1 (Berkeley) %G%";
-#endif not lint
+static char sccsid[] = "@(#)machine.c  5.5 (Berkeley) %G%";
+#endif /* not lint */
 
 
-/*
- * machine -- print machine type
- */
+#include <sys/param.h>
 
 
-main(argc,argv)
-       char *argv[];
+main()
 {
 {
-
-#ifdef vax
-       printf("vax\n");
-#endif
-#ifdef tahoe
-       printf("tahoe\n");
-#endif
+       puts(MACHINE);
        exit(0);
 }
        exit(0);
 }