From 8848b728cd609b4ed2667efc0d7eadf3595c8bf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Dj=C3=A4rv?= Date: Thu, 29 Jul 2010 08:59:29 +0200 Subject: Fix some stuff that didn't compile. * frame.h (Qtty_color_mode): Move declaration out of HAVE_WINDOW_SYSTEM. * vm-limit.c (POINTER): Add typedef for it. (start_of_data): Change return type from POINTER to char *. --- src/vm-limit.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/vm-limit.c') diff --git a/src/vm-limit.c b/src/vm-limit.c index e0bd77a2516..63f0f47e2d0 100644 --- a/src/vm-limit.c +++ b/src/vm-limit.c @@ -33,9 +33,10 @@ along with GNU Emacs. If not, see . */ 3 -- 95% warning issued; keep warning frequently. */ enum warnlevel { not_warned, warned_75, warned_85, warned_95 }; - static enum warnlevel warnlevel; +typedef POINTER_TYPE *POINTER; + /* Function to call to issue a warning; 0 means don't issue them. */ static void (*warn_function) (const char *); @@ -256,7 +257,7 @@ check_memory_limits (void) * */ -POINTER +char * start_of_data (void) { #ifdef BSD_SYSTEM -- cgit v1.2.1