]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/mem-limits.h: Remove duplicated includes.
authorDan Nicolaescu <dann@ics.uci.edu>
Thu, 29 Jul 2010 05:58:58 +0000 (22:58 -0700)
committerDan Nicolaescu <dann@ics.uci.edu>
Thu, 29 Jul 2010 05:58:58 +0000 (22:58 -0700)
(NULL): Remove definition, unused.
(POINTER): Remove definition.
(start_of_data): Use char* in prototype, as the function
definition does.

src/ChangeLog
src/mem-limits.h

index 3c1a543d3ecbe5e0d58d9b70532057e8cd26b118..f3f56c1a7e7265a8235cf50a480740cd09edee92 100644 (file)
@@ -1,5 +1,11 @@
 2010-07-29  Dan Nicolaescu  <dann@ics.uci.edu>
 
+       * 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.
+
        Remove extern declarations from .c files, and them to .h files.
        * keyboard.h (Qhelp_echo, waiting_for_input)
        (input_available_clear_time, ignore_mouse_drag_p)
index 8827c458c02f071ed5d86a7bb6aba727dd319ad0..9ec1558527dfa263292f6ed59c6c786c7320b25c 100644 (file)
@@ -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