X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=libiberty%2Fhex.c;h=86ba0b5b872fa7db852d1a6349fd3ca49e58d7f2;hb=d32cad65767a882c42aa64edfc98512d7fa6edbb;hp=e4c5dfa2f1dc6786a02d5a9875921d361bed47d3;hpb=70ecf948d924b4fdc84ba07d2f0c0ee141295ef7;p=deliverable%2Fbinutils-gdb.git diff --git a/libiberty/hex.c b/libiberty/hex.c index e4c5dfa2f1..86ba0b5b87 100644 --- a/libiberty/hex.c +++ b/libiberty/hex.c @@ -14,10 +14,13 @@ Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with libiberty; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ +not, write to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, +Boston, MA 02110-1301, USA. */ #include /* for EOF */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include "libiberty.h" #include "safe-ctype.h" /* for HOST_CHARSET_ASCII */ @@ -44,7 +47,7 @@ or zero if it is not. Note that the value you pass will be cast to @end deftypefn -@deftypefn Extension unsigned int hex_value (int @var{c}) +@deftypefn Extension {unsigned int} hex_value (int @var{c}) Returns the numeric equivalent of the given character when interpreted as a hexidecimal digit. The result is undefined if you pass an @@ -153,7 +156,7 @@ unsigned char _hex_value[_hex_array_size]; #endif /* not ASCII */ void -hex_init () +hex_init (void) { #ifndef HEX_TABLE_INITIALIZED int i;