aboutsummaryrefslogtreecommitdiff
path: root/binutils/dyn-string.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2000-06-16 00:46:22 +0000
committerH.J. Lu <hjl.tools@gmail.com>2000-06-16 00:46:22 +0000
commit0724d64b8d8de65974ca5fc31ebfaa99cdbf519a (patch)
tree02f3745caa25bc0809fa5f33d8062e16947c84db /binutils/dyn-string.h
parentefbc5fba8f1577f01255ac2d457d55af1ba1d689 (diff)
downloadgdb-0724d64b8d8de65974ca5fc31ebfaa99cdbf519a.zip
gdb-0724d64b8d8de65974ca5fc31ebfaa99cdbf519a.tar.gz
gdb-0724d64b8d8de65974ca5fc31ebfaa99cdbf519a.tar.bz2
2000-06-15 H.J. Lu <hjl@gnu.org>
* dyn-string.c: Removed. Not needed with dyn-string.c in libiberty. * dyn-string.h: Likewise. * Makefile.am: Remove references to dyn-string.c and dyn-string.h. Rebuild dependency. * Makefile.in: Rebuild.
Diffstat (limited to 'binutils/dyn-string.h')
-rw-r--r--binutils/dyn-string.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/binutils/dyn-string.h b/binutils/dyn-string.h
deleted file mode 100644
index cbd25c3..0000000
--- a/binutils/dyn-string.h
+++ /dev/null
@@ -1,34 +0,0 @@
-/* An abstract string datatype.
- Copyright (C) 1998 Free Software Foundation, Inc.
- Contributed by Mark Mitchell (mark@markmitchell.com).
-
- This file is part of GNU CC.
-
- GNU CC is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-
- GNU CC is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-
-/* This file lives in at least two places: binutils and gcc.
- Don't change one without the other. */
-
-typedef struct dyn_string
-{
- int allocated; /* The amount of space allocated for the string. */
- int length; /* The actual length of the string. */
- char *s; /* The string itself, NUL-terminated. */
-}* dyn_string_t;
-
-extern dyn_string_t dyn_string_new PARAMS((int));
-extern void dyn_string_delete PARAMS((dyn_string_t));
-extern dyn_string_t dyn_string_append PARAMS((dyn_string_t, char*));
-extern dyn_string_t dyn_string_resize PARAMS((dyn_string_t, int));