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 *.
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
|
||||
|
||||
* vm-limit.c (POINTER): Add typedef for it.
|
||||
(start_of_data): Change return type from POINTER to char *.
|
||||
|
||||
* frame.h (Qtty_color_mode): Move declaration out of ifdef
|
||||
HAVE_WINDOW_SYSTEM.
|
||||
|
||||
2010-07-29 Dan Nicolaescu <dann@ics.uci.edu>
|
||||
|
||||
* vm-limit.c: Do not include sys/resource.h, mem-limits.h does it.
|
||||
|
||||
@@ -823,6 +823,7 @@ typedef struct frame *FRAME_PTR;
|
||||
|
||||
extern Lisp_Object Qframep, Qframe_live_p;
|
||||
extern Lisp_Object Qtty, Qtty_type;
|
||||
extern Lisp_Object Qtty_color_mode;
|
||||
extern Lisp_Object Qterminal, Qterminal_live_p;
|
||||
extern Lisp_Object Qnoelisp;
|
||||
|
||||
@@ -1088,7 +1089,6 @@ extern Lisp_Object x_new_font (struct frame *, Lisp_Object, int);
|
||||
|
||||
/* These are in frame.c */
|
||||
|
||||
extern Lisp_Object Qtty_color_mode;
|
||||
extern Lisp_Object Vx_resource_name;
|
||||
extern Lisp_Object Vx_resource_class;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user