diff options
author | Roland McGrath <roland@redhat.com> | 2006-02-27 04:54:26 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2006-02-27 04:54:26 +0000 |
commit | 0833312829020d8283bdae9cd0a7c3ce995110b4 (patch) | |
tree | e8b9a54c8a58a534ca9b9e92a68c3df064843225 /libdwfl/dwfl_version.c | |
parent | 687d7e9bd154a4b1f22b5e3ed7c6c904e421e871 (diff) | |
download | elfutils-0833312829020d8283bdae9cd0a7c3ce995110b4.tar.gz |
libdw/
2006-02-22 Roland McGrath <roland@redhat.com>
* libdw.map: Bump to 0.120; export dwfl_version.
libdwfl/
* dwfl_version.c: New file.
* Makefile.am (libdwfl_a_SOURCES): Add it.
* libdwfl.h: Declare dwfl_version.
Diffstat (limited to 'libdwfl/dwfl_version.c')
-rw-r--r-- | libdwfl/dwfl_version.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/libdwfl/dwfl_version.c b/libdwfl/dwfl_version.c new file mode 100644 index 00000000..3360784d --- /dev/null +++ b/libdwfl/dwfl_version.c @@ -0,0 +1,21 @@ +/* Return implementation's version string suitable for printing. + Copyright (C) 2006 Red Hat, Inc. + + This program is Open Source software; you can redistribute it and/or + modify it under the terms of the Open Software License version 1.0 as + published by the Open Source Initiative. + + You should have received a copy of the Open Software License along + with this program; if not, you may obtain a copy of the Open Software + License version 1.0 from http://www.opensource.org/licenses/osl.php or + by writing the Open Source Initiative c/o Lawrence Rosen, Esq., + 3001 King Ranch Road, Ukiah, CA 95482. */ + +#include "libdwflP.h" + +const char * +dwfl_version (dwfl) + Dwfl *dwfl __attribute__ ((unused)); +{ + return PACKAGE_STRING; +} |