* frame.c (get_frame_param): Define only if HAVE_WINDOW_SYSTEM.
authorAndreas Schwab <schwab@linux-m68k.org>
Sat, 7 Jul 2012 21:39:23 +0000 (23:39 +0200)
committerAndreas Schwab <schwab@linux-m68k.org>
Sat, 7 Jul 2012 21:39:23 +0000 (23:39 +0200)
src/ChangeLog
src/frame.c

index 4ae2622..d481d1f 100644 (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>
index c0293f6..4902811 100644 (file)
@@ -1932,6 +1932,7 @@ See `redirect-frame-focus'.  */)
 \f
 /* 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.  */