summaryrefslogtreecommitdiffstats
path: root/libdwarf/dwarf_formflag.c
diff options
context:
space:
mode:
authorRoland McGrath <[email protected]>2010-07-07 13:59:37 -0700
committerRoland McGrath <[email protected]>2010-07-07 13:59:37 -0700
commit0cf762c2d960cd64e72d8637db0c38102bd6a4ee (patch)
tree3ac5543c4890b44c0bf5957e27e81e79cd22c8b6 /libdwarf/dwarf_formflag.c
parent008a5f29fe75c0cbfbde61fde837b1a41a50c607 (diff)
Remove libdwarf directory, ancient cruft.
Having this cruft in the tree led me astray one time too many in a mass grep. I ain't havin' it no more. Anyone looking for hysterical raisins can still find it in the git history. It hasn't been in distribution tarballs for a long time now.
Diffstat (limited to 'libdwarf/dwarf_formflag.c')
-rw-r--r--libdwarf/dwarf_formflag.c51
1 files changed, 0 insertions, 51 deletions
diff --git a/libdwarf/dwarf_formflag.c b/libdwarf/dwarf_formflag.c
deleted file mode 100644
index c38d1352..00000000
--- a/libdwarf/dwarf_formflag.c
+++ /dev/null
@@ -1,51 +0,0 @@
-/* Return flag represented by attribute.
- Copyright (C) 2000, 2001, 2002 Red Hat, Inc.
- This file is part of Red Hat elfutils.
- Written by Ulrich Drepper <[email protected]>, 2000.
-
- Red Hat elfutils 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; version 2 of the License.
-
- Red Hat elfutils 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 Red Hat elfutils; if not, write to the Free Software Foundation,
- Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA.
-
- Red Hat elfutils is an included package of the Open Invention Network.
- An included package of the Open Invention Network is a package for which
- Open Invention Network licensees cross-license their patents. No patent
- license is granted, either expressly or impliedly, by designation as an
- included package. Should you wish to participate in the Open Invention
- Network licensing program, please visit www.openinventionnetwork.com
- <http://www.openinventionnetwork.com>. */
-
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-
-#include <dwarf.h>
-
-#include <libdwarfP.h>
-
-
-int
-dwarf_formflag (attr, return_bool, error)
- Dwarf_Attribute attr;
- Dwarf_Bool *return_bool;
- Dwarf_Error *error;
-{
- if (unlikely (attr->form != DW_FORM_flag))
- {
- __libdwarf_error (attr->cu->dbg, error, DW_E_NO_FLAG);
- return DW_DLV_ERROR;
- }
-
- *return_bool = attr->valp != 0;
-
- return DW_DLV_OK;
-}