Commit 0441987e authored by Dan Nicolaescu's avatar Dan Nicolaescu
Browse files

* src/vm-limit.c: Do not include sys/resource.h, mem-limits.h does it.

Remove reference to __osf__, unused.
parent 56a000c7
2010-07-29 Dan Nicolaescu <dann@ics.uci.edu>
 
* vm-limit.c: Do not include sys/resource.h, mem-limits.h does it.
Remove reference to __osf__, unused.
* mem-limits.h: Remove duplicated includes.
(NULL): Remove definition, unused.
(POINTER): Remove definition.
......
......@@ -25,10 +25,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include "mem-limits.h"
#ifdef HAVE_GETRLIMIT
#include <sys/resource.h>
#endif
/*
Level number of warnings already issued.
0 -- no warnings issued.
......@@ -100,7 +96,7 @@ get_lim_data (void)
}
#else
#if !defined (BSD4_2) && !defined (__osf__) && !defined (CYGWIN)
#if !defined (BSD4_2) && !defined (CYGWIN)
#ifdef MSDOS
void
......@@ -148,7 +144,7 @@ get_lim_data (void)
}
#endif /* not MSDOS */
#else /* BSD4_2 */
#else /* BSD4_2 || CYGWIN */
static void
get_lim_data (void)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment