summaryrefslogtreecommitdiff
path: root/src/mem-limits.h
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2010-07-28 22:58:58 -0700
committerDan Nicolaescu <dann@ics.uci.edu>2010-07-28 22:58:58 -0700
commit56a000c73d1162d01f97384f6fa54106f9caeb17 (patch)
treebd87173978829fdc58e49a46fc359cae068f311b /src/mem-limits.h
parente6cba65065d7002d181c3d440bfc5e04ba953783 (diff)
downloademacs-56a000c73d1162d01f97384f6fa54106f9caeb17.tar.gz
* src/mem-limits.h: Remove duplicated includes.
(NULL): Remove definition, unused. (POINTER): Remove definition. (start_of_data): Use char* in prototype, as the function definition does.
Diffstat (limited to 'src/mem-limits.h')
-rw-r--r--src/mem-limits.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/mem-limits.h b/src/mem-limits.h
index 8827c458c02..9ec1558527d 100644
--- a/src/mem-limits.h
+++ b/src/mem-limits.h
@@ -34,24 +34,9 @@ extern int etext;
# endif
#endif
-#ifdef BSD4_2
-#include <sys/time.h>
-#include <sys/resource.h>
-#endif /* BSD4_2 */
-
-/* The important properties of this type are that 1) it's a pointer, and
- 2) arithmetic on it should work as if the size of the object pointed
- to has a size of 1. */
-typedef POINTER_TYPE *POINTER;
-
typedef unsigned long SIZE;
-#ifdef NULL
-#undef NULL
-#endif
-#define NULL ((POINTER) 0)
-
-extern POINTER start_of_data (void);
+extern char *start_of_data (void);
#if defined USE_LSB_TAG
#define EXCEEDS_LISP_PTR(ptr) 0
#elif defined DATA_SEG_BITS