Changeset 24 in kBuild for branches/FREEBSD/src/kmk/sprite.h
- Timestamp:
- Nov 26, 2002 9:24:54 PM (22 years ago)
- File:
-
- 1 edited
-
branches/FREEBSD/src/kmk/sprite.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/FREEBSD/src/kmk/sprite.h
r10 r24 36 36 * SUCH DAMAGE. 37 37 * 38 * @(#)sprite.h 8.2 (Berkeley) 4/28/9539 * $FreeBSD: src/usr.bin/make/sprite.h,v 1. 13 2002/09/17 21:29:06 jmallettExp $38 * from: @(#)sprite.h 8.1 (Berkeley) 6/6/93 39 * $FreeBSD: src/usr.bin/make/sprite.h,v 1.9 1999/08/28 01:03:36 peter Exp $ 40 40 */ 41 41 … … 47 47 48 48 #ifndef _SPRITE 49 #define _SPRITE 49 #define _SPRITE 50 50 51 51 52 /* … … 56 57 typedef int Boolean; 57 58 #ifndef TRUE 58 #define TRUE 159 #define TRUE 1 59 60 #endif /* TRUE */ 60 61 #ifndef FALSE 61 #define FALSE 062 #define FALSE 0 62 63 #endif /* FALSE */ 64 65 /* 66 * Functions that must return a status can return a ReturnStatus to 67 * indicate success or type of failure. 68 */ 63 69 64 70 typedef int ReturnStatus; 65 71 66 #define SUCCESS 0 67 #define FAILURE 1 72 /* 73 * The following statuses overlap with the first 2 generic statuses 74 * defined in status.h: 75 * 76 * SUCCESS There was no error. 77 * FAILURE There was a general error. 78 */ 79 80 #define SUCCESS 0x00000000 81 #define FAILURE 0x00000001 82 83 84 /* 85 * A nil pointer must be something that will cause an exception if 86 * referenced. There are two nils: the kernels nil and the nil used 87 * by user processes. 88 */ 89 90 #define NIL ~0 91 #define USER_NIL 0 92 #ifndef NULL 93 #define NULL 0 94 #endif /* NULL */ 95 96 /* 97 * An address is just a pointer in C. It is defined as a character pointer 98 * so that address arithmetic will work properly, a byte at a time. 99 */ 100 101 typedef char *Address; 102 103 /* 104 * ClientData is an uninterpreted word. It is defined as an int so that 105 * kdbx will not interpret client data as a string. Unlike an "Address", 106 * client data will generally not be used in arithmetic. 107 * But we don't have kdbx anymore so we define it as void (christos) 108 */ 109 110 typedef void *ClientData; 68 111 69 112 #endif /* _SPRITE */
Note:
See TracChangeset
for help on using the changeset viewer.

