X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=libiberty%2Fhex.c;h=7c4feb2a25e5890c1c02aa77fa9b04754e8e79f0;hb=dbc3717013bed530d4c1de3ac7da906fa06bfb3e;hp=86ba0b5b872fa7db852d1a6349fd3ca49e58d7f2;hpb=979c05d32447bf9388479ed6ef8e5665b40e5763;p=binutils-gdb.git diff --git a/libiberty/hex.c b/libiberty/hex.c index 86ba0b5b872..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 @@ -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.