mirror of
https://github.com/mirror/wget.git
synced 2025-03-28 13:00:10 +08:00
* src/utils.h: Remove alloca_array
This commit is contained in:
parent
28beee5e75
commit
7aac99d6e5
@ -51,8 +51,6 @@ as that of the covered work. */
|
|||||||
#define xnew_array(type, len) (xmalloc ((len) * sizeof (type)))
|
#define xnew_array(type, len) (xmalloc ((len) * sizeof (type)))
|
||||||
#define xnew0_array(type, len) (xcalloc ((len), sizeof (type)))
|
#define xnew0_array(type, len) (xcalloc ((len), sizeof (type)))
|
||||||
|
|
||||||
#define alloca_array(type, size) ((type *) alloca ((size) * sizeof (type)))
|
|
||||||
|
|
||||||
#define xfree(p) do { free ((void *) (p)); p = NULL; } while (0)
|
#define xfree(p) do { free ((void *) (p)); p = NULL; } while (0)
|
||||||
|
|
||||||
struct hash_table;
|
struct hash_table;
|
||||||
|
Loading…
Reference in New Issue
Block a user