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@gcc.gnu.org>2002-07-04 21:24:25 +0000
commitec52b446cc15368a1c3e248aaa59dfc40e4733b9 (patch)
tree204697b75839c9626cf92504ccfe3c612bd7adba /gcc/ggc.h
parent49433044e4aad2d2bad0a52b747aad30e0892536 (diff)
downloadgcc-ec52b446cc15368a1c3e248aaa59dfc40e4733b9.zip
gcc-ec52b446cc15368a1c3e248aaa59dfc40e4733b9.tar.gz
gcc-ec52b446cc15368a1c3e248aaa59dfc40e4733b9.tar.bz2
* ggc.h (ggc_add_root): Document as obsolete.
From-SVN: r55247
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 b28e11a..0cd87f4 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 *)));