aboutsummaryrefslogtreecommitdiff
path: root/gcc/ggc.h
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@redhat.com>2002-07-04 21:24:25 +0000
committerGeoffrey Keating <geoffk@redhat.com>2002-07-04 21:24:25 +0000
commitf3f64035ba7490853b4866c5505e6b6147b79c24 (patch)
tree204697b75839c9626cf92504ccfe3c612bd7adba /gcc/ggc.h
parent99672efe9805bedc36a938dd10262add6ba73104 (diff)
* ggc.h (ggc_add_root): Document as obsolete.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@55247 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ggc.h')
-rw-r--r--gcc/ggc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/ggc.h b/gcc/ggc.h
index b28e11a88e6..0cd87f4dad9 100644
--- a/gcc/ggc.h
+++ b/gcc/ggc.h
@@ -29,7 +29,8 @@ extern const char empty_string[]; /* empty string */
extern const char digit_vector[]; /* "0" .. "9" */
#define digit_string(d) (digit_vector + ((d) * 2))
-/* Manipulate global roots that are needed between calls to gc. */
+/* Manipulate global roots that are needed between calls to gc.
+ THIS ROUTINE IS OBSOLETE, do not use it for new code. */
extern void ggc_add_root PARAMS ((void *base, int nelt,
int size, void (*)(void *)));