Mercurial > emacs
diff src/vm-limit.c @ 109576:faeb6f3341b1
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 *.
| author | Jan D. <jan.h.d@swipnet.se> |
|---|---|
| date | Thu, 29 Jul 2010 08:59:29 +0200 |
| parents | ad36da121d41 |
| children | b9752b72e1ee |
line wrap: on
line diff
--- a/src/vm-limit.c Wed Jul 28 23:12:38 2010 -0700 +++ b/src/vm-limit.c Thu Jul 29 08:59:29 2010 +0200 @@ -33,8 +33,9 @@ 3 -- 95% warning issued; keep warning frequently. */ enum warnlevel { not_warned, warned_75, warned_85, warned_95 }; +static enum warnlevel warnlevel; -static enum warnlevel warnlevel; +typedef POINTER_TYPE *POINTER; /* Function to call to issue a warning; 0 means don't issue them. */ @@ -256,7 +257,7 @@ * */ -POINTER +char * start_of_data (void) { #ifdef BSD_SYSTEM
