summaryrefslogtreecommitdiff
path: root/src/vm-limit.c
diff options
context:
space:
mode:
authorJan Djärv <jan.h.d@swipnet.se>2010-07-29 08:59:29 +0200
committerJan Djärv <jan.h.d@swipnet.se>2010-07-29 08:59:29 +0200
commit8848b728cd609b4ed2667efc0d7eadf3595c8bf0 (patch)
tree1d41c637f80b84eb654c7a0cdc5cd3e98ad02e91 /src/vm-limit.c
parent0441987e88af1ad9a55cb025f7c8894b7e067522 (diff)
downloademacs-8848b728cd609b4ed2667efc0d7eadf3595c8bf0.tar.gz
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 *.
Diffstat (limited to 'src/vm-limit.c')
-rw-r--r--src/vm-limit.c5
1 files changed, 3 insertions, 2 deletions
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 <http://www.gnu.org/licenses/>. */
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