aboutsummaryrefslogtreecommitdiff
path: root/mach/errorlib.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-03-13 00:37:23 +0000
committerRoland McGrath <roland@gnu.org>1995-03-13 00:37:23 +0000
commit424f8c09fa436a2caa212484d93501cab8eaa39f (patch)
tree1b0b95ded3c76817b446d6173f707352aa9a13e1 /mach/errorlib.h
parenta2cafe309c31ecc13ca008f1e27a9c7455a95c58 (diff)
downloadglibc-424f8c09fa436a2caa212484d93501cab8eaa39f.zip
glibc-424f8c09fa436a2caa212484d93501cab8eaa39f.tar.gz
glibc-424f8c09fa436a2caa212484d93501cab8eaa39f.tar.bz2
Sun Mar 12 18:21:10 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* malloc/malloc.h (_malloc_internal, _realloc_internal): Declare these. * malloc/realloc.c (_realloc_internal): Renamed from realloc; don't use __realloc_hook. (realloc): New function; call __realloc_hook ?: _realloc_internal. * malloc/malloc.c (_malloc_internal): Renamed from malloc; don't use __malloc_hook. (malloc): New function; call __malloc_hook ?: _malloc_internal. (initialize): Set up _heaplimit to cover the _heapinfo table. (morecore_recursing): New static variable. (morecore): If that is set, return null immediately. When growing the info table, before getting new core from the system for it, set morecore_recursing and try moving _heapinfo with _realloc_internal. When that fails and we get new core, set _heaplimit to cover the core for the new _heapinfo table. (register_heapinfo): New function. Record the _heapinfo table's own blocks in that table and in the statistics variables. (initialize, _malloc_internal): Use it after allocating new table. Fri Mar 10 22:26:28 1995 Jim Meyering (meyering@comco.com) * sysdeps/generic/memchr.c: Remove ansidecl.h and clean up for use by other packages. [LONG_MAX <= LONG_MAX_32_BITS]: Don't compile 64-bit code. * mach/errorlib.h (errors): Use const for decl. * time/tzfile.c (uc2ul, _uc2ul): Macros removed. (decode): New inline function; decode signed 32-bit integers, and sign-extend properly when long is longer than 32 bits. (__tzfile_read): Changed all uses of uc2ul to decode. Decode the transition times properly when sizeof (time_t) > 4. * stdio/vfprintf.c [USE_IN_LIBIO] (PAD): Use return value of _IO_padn. (buffered_vfprintf): Remove line buffer when flush failed.
Diffstat (limited to 'mach/errorlib.h')
-rw-r--r--mach/errorlib.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/mach/errorlib.h b/mach/errorlib.h
index b60fc5e..7fe6350 100644
--- a/mach/errorlib.h
+++ b/mach/errorlib.h
@@ -26,7 +26,10 @@
/*
* HISTORY
* $Log$
- * Revision 1.4 1993/12/17 21:56:16 roland
+ * Revision 1.5 1995/03/10 23:57:44 roland
+ * (errors): Use const for decl.
+ *
+ * Revision 1.4 1993/12/17 21:56:16 roland
* entered into RCS
*
* Revision 2.3 92/03/31 15:18:52 rpd
@@ -82,6 +85,6 @@ struct error_system {
};
#define errors __mach_error_systems
-extern struct error_system errors[err_max_system+1];
+extern const struct error_system errors[err_max_system+1];
#define errlib_count(s) (sizeof(s)/sizeof(s[0]))