diff options
author | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-14 01:47:33 +0000 |
---|---|---|
committer | aoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-14 01:47:33 +0000 |
commit | b6c1bd727a489a6b86c231d03211065cf877e01d (patch) | |
tree | 7bb58d1e7d3b351d0ff0600da13ca9d5dce8a865 /gcc/toplev.h | |
parent | 3752d411e936f7ff076af47ab768c7aab1951908 (diff) | |
download | gcc-b6c1bd727a489a6b86c231d03211065cf877e01d.tar.gz |
gcc/ChangeLog:
* flags.h (flag_random_seed): Remove declaration, in favor of...
* toplev.h (get_random_seed, set_random_seed): ... these.
* tree.c (get_file_function_name): Use the former.
* opts.c (common_handle_option): Use the latter.
* toplev.c
gcc/cp/ChangeLog:
* cp/repo.c (init_repo): Initialize random_seed saved options.
(finish_repo): Adjust.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122901 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/toplev.h')
-rw-r--r-- | gcc/toplev.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/toplev.h b/gcc/toplev.h index a23d52c8983..524708d1d07 100644 --- a/gcc/toplev.h +++ b/gcc/toplev.h @@ -1,5 +1,5 @@ /* toplev.h - Various declarations for functions found in toplev.c - Copyright (C) 1998, 1999, 2000, 2001, 2003, 2004, 2005 + Copyright (C) 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. This file is part of GCC. @@ -191,4 +191,9 @@ exact_log2 (unsigned HOST_WIDE_INT x) extern const char *get_src_pwd (void); extern bool set_src_pwd (const char *); +/* Functions used to manipulate the random seed. */ + +extern const char *get_random_seed (bool); +extern const char *set_random_seed (const char *); + #endif /* ! GCC_TOPLEV_H */ |