]> code.delx.au - gnu-emacs/blobdiff - src/vm-limit.c
Adjusted for the change of MAX_CHARSET.
[gnu-emacs] / src / vm-limit.c
index c3bd98d67de4d9027d0e713c12685fa3b6576d00..b23beeb26e7710f16ba97624cf0c9fd88ff6d2a3 100644 (file)
@@ -15,10 +15,11 @@ GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with GNU Emacs; see the file COPYING.  If not, write to
-the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
+the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA.  */
 
 #ifdef emacs
-#include "config.h"
+#include <config.h>
 #include "lisp.h"
 #endif
 
@@ -49,10 +50,11 @@ static void (*warn_function) ();
 static void
 check_memory_limits ()
 {
-  POINTER result;
+  extern POINTER (*__morecore) ();
+
   register POINTER cp;
-  int five_percent;
-  int data_size;
+  unsigned long five_percent;
+  unsigned long data_size;
 
   if (lim_data == 0)
     get_lim_data ();