generate-random.c (config.h): Do not include.
* gcc.dg/compat/generate-random.c (config.h): Do not include. (limits.h): Include unconditionally. (stdlib.h): Likewise. * gcc.dg/compat/generate-random_r.c (config.h): Do not include. (limits.h): Include unconditionally. (stdlib.h): Likewise. * gcc.dg/compat/struct-layout-1.exp: Do not link with libiberty. * gcc.dg/compat/struct-layout-1_generate.c (config.h): Do not include. (limits.h): Include unconditionally. (stdlib.h): Likewise. (hashtab.h): Do not include. (getopt.h): Likewise. (stddef.h): Include. (hashval_t): Define. (struct entry): Add "next" field. (HASH_SIZE): New macro. (hash_table): New variable. (switchfiles): Do not use xmalloc. (mix): New macro. (iterative_hash): New function. (hasht): Remove. (e_exists): New function. (e_insert): Likewise. (output): Use, instead of libiberty hashtable functions. (main): Do not use getopt. Do not call htab_create. From-SVN: r99799
Showing
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment