X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=libiberty%2Fhex.c;h=5eeafdbd15860f55457ac635cda89237db6e3652;hp=9e4e306a7d48288827037287bf6cff114882ba3c;hb=33a1ad407922354401071b2738189e21eb010f34;hpb=8858115ecd90fe07d0a95c42b929420e4bf0d1a4 diff --git a/libiberty/hex.c b/libiberty/hex.c index 9e4e306a7d4..5eeafdbd158 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 */ @@ -47,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.