emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r100932: * src/mem-limits.h: Remove d


From: Dan Nicolaescu
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r100932: * src/mem-limits.h: Remove duplicated includes.
Date: Wed, 28 Jul 2010 22:58:58 -0700
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 100932
committer: Dan Nicolaescu <address@hidden>
branch nick: trunk
timestamp: Wed 2010-07-28 22:58:58 -0700
message:
  * 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.
modified:
  src/ChangeLog
  src/mem-limits.h
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2010-07-29 05:48:06 +0000
+++ b/src/ChangeLog     2010-07-29 05:58:58 +0000
@@ -1,5 +1,11 @@
 2010-07-29  Dan Nicolaescu  <address@hidden>
 
+       * 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)

=== modified file 'src/mem-limits.h'
--- a/src/mem-limits.h  2010-07-25 13:46:48 +0000
+++ b/src/mem-limits.h  2010-07-29 05:58:58 +0000
@@ -34,24 +34,9 @@
 # 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]