xref: /csrg-svn/old/machine/machine.c (revision 29669)
1*29669Ssam /*
2*29669Ssam  * Copyright (c) 1986 Regents of the University of California.
3*29669Ssam  * All rights reserved.  The Berkeley software License Agreement
4*29669Ssam  * specifies the terms and conditions for redistribution.
5*29669Ssam  */
6*29669Ssam 
7*29669Ssam #ifndef lint
8*29669Ssam char copyright[] =
9*29669Ssam "@(#) Copyright (c) 1986 Regents of the University of California.\n\
10*29669Ssam  All rights reserved.\n";
11*29669Ssam #endif not lint
12*29669Ssam 
13*29669Ssam #ifndef lint
14*29669Ssam static char sccsid[] = "@(#)machine.c	5.1 (Berkeley) 07/26/86";
15*29669Ssam #endif not lint
16*29669Ssam 
17*29669Ssam /*
18*29669Ssam  * machine -- print machine type
19*29669Ssam  */
20*29669Ssam 
21*29669Ssam main(argc,argv)
22*29669Ssam 	char *argv[];
23*29669Ssam {
24*29669Ssam 
25*29669Ssam #ifdef vax
26*29669Ssam 	printf("vax\n");
27*29669Ssam #endif
28*29669Ssam #ifdef tahoe
29*29669Ssam 	printf("tahoe\n");
30*29669Ssam #endif
31*29669Ssam 	exit(0);
32*29669Ssam }
33