summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/compat/generate-random.c
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-16 22:52:26 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-16 22:52:26 +0000
commitc621b28d550e43cbb5581bb64837126dbcd88d0a (patch)
treed468c91e66290efdf572a3573a071029e6a50131 /gcc/testsuite/gcc.dg/compat/generate-random.c
parent792a073a0217b190cb15ffbaeaf48d6d66e5d7c2 (diff)
downloadgcc-c621b28d550e43cbb5581bb64837126dbcd88d0a.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99799 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/compat/generate-random.c')
-rw-r--r--gcc/testsuite/gcc.dg/compat/generate-random.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/testsuite/gcc.dg/compat/generate-random.c b/gcc/testsuite/gcc.dg/compat/generate-random.c
index 00c422493da..175924012f2 100644
--- a/gcc/testsuite/gcc.dg/compat/generate-random.c
+++ b/gcc/testsuite/gcc.dg/compat/generate-random.c
@@ -51,14 +51,9 @@
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.*/
-#include "config.h"
-#ifdef HAVE_LIMITS_H
#include <limits.h>
-#endif
#include "libiberty.h"
-#ifdef HAVE_STDLIB_H
#include <stdlib.h>
-#endif
#include "generate-random.h"