Mercurial > emacs
comparison src/alloc.c @ 21514:fa9ff387d260
Fix -Wimplicit warnings.
author | Andreas Schwab <schwab@suse.de> |
---|---|
date | Tue, 14 Apr 1998 12:25:56 +0000 |
parents | 1701bf5b9dec |
children | c744d468bfb6 |
comparison
equal
deleted
inserted
replaced
21513:984881b316fc | 21514:fa9ff387d260 |
---|---|
591 float_block_index = 0; | 591 float_block_index = 0; |
592 float_free_list = 0; | 592 float_free_list = 0; |
593 } | 593 } |
594 | 594 |
595 /* Explicitly free a float cell. */ | 595 /* Explicitly free a float cell. */ |
596 void | |
596 free_float (ptr) | 597 free_float (ptr) |
597 struct Lisp_Float *ptr; | 598 struct Lisp_Float *ptr; |
598 { | 599 { |
599 *(struct Lisp_Float **)&ptr->data = float_free_list; | 600 *(struct Lisp_Float **)&ptr->data = float_free_list; |
600 float_free_list = ptr; | 601 float_free_list = ptr; |
2945 Qnil))))))); | 2946 Qnil))))))); |
2946 } | 2947 } |
2947 | 2948 |
2948 /* Initialization */ | 2949 /* Initialization */ |
2949 | 2950 |
2951 void | |
2950 init_alloc_once () | 2952 init_alloc_once () |
2951 { | 2953 { |
2952 /* Used to do Vpurify_flag = Qt here, but Qt isn't set up yet! */ | 2954 /* Used to do Vpurify_flag = Qt here, but Qt isn't set up yet! */ |
2953 pureptr = 0; | 2955 pureptr = 0; |
2954 #ifdef HAVE_SHM | 2956 #ifdef HAVE_SHM |
2987 malloc_sbrk_unused = 1<<22; /* A large number */ | 2989 malloc_sbrk_unused = 1<<22; /* A large number */ |
2988 malloc_sbrk_used = 100000; /* as reasonable as any number */ | 2990 malloc_sbrk_used = 100000; /* as reasonable as any number */ |
2989 #endif /* VIRT_ADDR_VARIES */ | 2991 #endif /* VIRT_ADDR_VARIES */ |
2990 } | 2992 } |
2991 | 2993 |
2994 void | |
2992 init_alloc () | 2995 init_alloc () |
2993 { | 2996 { |
2994 gcprolist = 0; | 2997 gcprolist = 0; |
2995 } | 2998 } |
2996 | 2999 |