X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=libiberty%2Fhex.c;h=7c4feb2a25e5890c1c02aa77fa9b04754e8e79f0;hb=dbc3717013bed530d4c1de3ac7da906fa06bfb3e;hp=5738762a7b2793e43cfdc217991048ea47eeefc1;hpb=fa99459db0a91f66893afca6d3f55174c633cf2b;p=binutils-gdb.git diff --git a/libiberty/hex.c b/libiberty/hex.c index 5738762a7b2..7c4feb2a25e 100644 --- a/libiberty/hex.c +++ b/libiberty/hex.c @@ -1,5 +1,5 @@ /* Hex character manipulation support. - Copyright (C) 1995, 2001 Free Software Foundation, Inc. + Copyright (C) 1995-2022 Free Software Foundation, Inc. This file is part of the libiberty library. Libiberty is free software; you can redistribute it and/or @@ -14,8 +14,8 @@ 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 @@ -50,7 +50,7 @@ or zero if it is not. Note that the value you pass will be cast to @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 +as a hexadecimal digit. The result is undefined if you pass an invalid hex digit. Note that the value you pass will be cast to @code{unsigned char} within the macro.