mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-02 01:40:49 +02:00
Bash-5.3-alpha release
This commit is contained in:
+11
-11
@@ -1,6 +1,6 @@
|
||||
/* table.h - definitions for tables for keeping track of allocated memory */
|
||||
|
||||
/* Copyright (C) 2001-2020 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 2001-2022 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU Bash, the Bourne-Again SHell.
|
||||
|
||||
@@ -57,12 +57,12 @@ typedef struct mr_table {
|
||||
|
||||
#define REG_TABLE_SIZE 8192
|
||||
|
||||
extern mr_table_t *mr_table_entry PARAMS((PTR_T));
|
||||
extern void mregister_alloc PARAMS((const char *, PTR_T, size_t, const char *, int));
|
||||
extern void mregister_free PARAMS((PTR_T, int, const char *, int));
|
||||
extern void mregister_describe_mem ();
|
||||
extern void mregister_dump_table PARAMS((void));
|
||||
extern void mregister_table_init PARAMS((void));
|
||||
extern mr_table_t *mr_table_entry (PTR_T);
|
||||
extern void mregister_alloc (const char *, PTR_T, size_t, const char *, int);
|
||||
extern void mregister_free (PTR_T, int, const char *, int);
|
||||
extern void mregister_describe_mem (PTR_T, FILE *); /* needs stdio.h */
|
||||
extern void mregister_dump_table (void);
|
||||
extern void mregister_table_init (void);
|
||||
|
||||
typedef struct ma_table {
|
||||
const char *file;
|
||||
@@ -70,10 +70,10 @@ typedef struct ma_table {
|
||||
int nalloc;
|
||||
} ma_table_t;
|
||||
|
||||
extern void mlocation_register_alloc PARAMS((const char *, int));
|
||||
extern void mlocation_table_init PARAMS((void));
|
||||
extern void mlocation_dump_table PARAMS((void));
|
||||
extern void mlocation_write_table PARAMS((void));
|
||||
extern void mlocation_register_alloc (const char *, int);
|
||||
extern void mlocation_table_init (void);
|
||||
extern void mlocation_dump_table (void);
|
||||
extern void mlocation_write_table (void);
|
||||
|
||||
/* NOTE: HASH_MIX taken from dmalloc (http://dmalloc.com) */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user