summaryrefslogtreecommitdiff
path: root/gcc/toplev.h
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2007-03-14 01:47:33 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2007-03-14 01:47:33 +0000
commit403d4851227351c58de907237e6266b5e9956778 (patch)
tree7bb58d1e7d3b351d0ff0600da13ca9d5dce8a865 /gcc/toplev.h
parent481e0a49bb403b8bb01550e550f90ed2125b9e04 (diff)
flags.h (flag_random_seed): Remove declaration, in favor of...
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. From-SVN: r122901
Diffstat (limited to 'gcc/toplev.h')
-rw-r--r--gcc/toplev.h7
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 */