comparison src/vm-limit.c @ 398:74fd4e045ea6 r21-2-29

Import from CVS: tag r21-2-29
author cvs
date Mon, 13 Aug 2007 11:13:30 +0200
parents 3d6bfa290dbd
children a86b2b5e0111
comparison
equal deleted inserted replaced
397:f4aeb21a5bad 398:74fd4e045ea6
43 */ 43 */
44 static int warnlevel; 44 static int warnlevel;
45 45
46 /* Function to call to issue a warning; 46 /* Function to call to issue a warning;
47 0 means don't issue them. */ 47 0 means don't issue them. */
48 static void (*warn_function) (CONST char *); 48 static void (*warn_function) (const char *);
49 49
50 /* Get more memory space, complaining if we're near the end. */ 50 /* Get more memory space, complaining if we're near the end. */
51 51
52 static void 52 static void
53 check_memory_limits (void) 53 check_memory_limits (void)
117 117
118 /* Cause reinitialization based on job parameters; 118 /* Cause reinitialization based on job parameters;
119 also declare where the end of pure storage is. */ 119 also declare where the end of pure storage is. */
120 120
121 void 121 void
122 memory_warnings (void *start, void (*warnfun) (CONST char *)) 122 memory_warnings (void *start, void (*warnfun) (const char *))
123 { 123 {
124 extern void (* __after_morecore_hook) (void); /* From gmalloc.c */ 124 extern void (* __after_morecore_hook) (void); /* From gmalloc.c */
125 125
126 if (start) 126 if (start)
127 data_space_start = start; 127 data_space_start = start;