* frame.c (get_frame_param): Define only if HAVE_WINDOW_SYSTEM.

This commit is contained in:
Andreas Schwab 2012-07-07 23:39:23 +02:00
parent b676b881b2
commit 298819b917
2 changed files with 4 additions and 0 deletions

View file

@ -1,5 +1,7 @@
2012-07-07 Andreas Schwab <schwab@linux-m68k.org>
* frame.c (get_frame_param): Define only if HAVE_WINDOW_SYSTEM.
* lisp.h: Remove empty conditional.
2012-07-07 Paul Eggert <eggert@cs.ucla.edu>

View file

@ -1932,6 +1932,7 @@ See `redirect-frame-focus'. */)
/* Return the value of frame parameter PROP in frame FRAME. */
#ifdef HAVE_WINDOW_SYSTEM
#if !HAVE_NS
static
#endif
@ -1945,6 +1946,7 @@ get_frame_param (register struct frame *frame, Lisp_Object prop)
return tem;
return Fcdr (tem);
}
#endif
/* Return the buffer-predicate of the selected frame. */