summaryrefslogtreecommitdiff
path: root/gcc/ggc.h
diff options
context:
space:
mode:
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-04 21:24:25 +0000
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-04 21:24:25 +0000
commita60d09cff3c6148d6865b2955ab9977dd9e2c3fb (patch)
tree204697b75839c9626cf92504ccfe3c612bd7adba /gcc/ggc.h
parente94770b8b321aa92726ebb3d44255f344030f723 (diff)
downloadgcc-a60d09cff3c6148d6865b2955ab9977dd9e2c3fb.tar.gz
* ggc.h (ggc_add_root): Document as obsolete.
git-svn-id: svn+ssh://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 *)));