Revision: | 2.5 |
Committed: | Thu Jul 17 09:21:29 2003 UTC (21 years, 9 months ago) by schorsch |
Content type: | text/plain |
Branch: | MAIN |
CVS Tags: | rad5R4, rad5R2, rad4R2P2, rad5R0, rad5R1, rad3R7P2, rad3R7P1, rad4R2, rad4R1, rad4R0, rad3R6, rad3R6P1, rad3R8, rad3R9, rad4R2P1, rad5R3, HEAD |
Changes since 2.4: | +3 -1 lines |
Log Message: | Added prototypes and includes from patch by Randolph Fritz. Added more required includes and reduced other compile warnings. |
# | User | Rev | Content |
---|---|---|---|
1 | greg | 1.1 | #ifndef lint |
2 | schorsch | 2.5 | static const char RCSid[] = "$Id: quit.c,v 2.4 2003/06/07 12:50:20 schorsch Exp $"; |
3 | greg | 1.1 | #endif |
4 | greg | 2.2 | /* |
5 | * Default program quit routine. | ||
6 | */ | ||
7 | |||
8 | greg | 2.3 | #include "copyright.h" |
9 | schorsch | 2.4 | |
10 | #include <stdlib.h> | ||
11 | schorsch | 2.5 | |
12 | #include "rterror.h" | ||
13 | greg | 1.1 | |
14 | greg | 2.2 | void |
15 | greg | 1.1 | quit(code) /* quit program */ |
16 | int code; | ||
17 | { | ||
18 | exit(code); | ||
19 | } |