projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make the assembler generate an error if there is an attempt to define a section with...
[deliverable/binutils-gdb.git]
/
libiberty
/
hex.c
diff --git
a/libiberty/hex.c
b/libiberty/hex.c
index d30f199224e976b1b71e6c286e736827852a3c67..67ce13cdb500fec88d8edb800309642d17b3f5fa 100644
(file)
--- a/
libiberty/hex.c
+++ b/
libiberty/hex.c
@@
-1,5
+1,5
@@
/* Hex character manipulation support.
/* Hex character manipulation support.
- Copyright (C) 1995
, 2001
Free Software Foundation, Inc.
+ Copyright (C) 1995
-2019
Free Software Foundation, Inc.
This file is part of the libiberty library.
Libiberty is free software; you can redistribute it and/or
This file is part of the libiberty library.
Libiberty is free software; you can redistribute it and/or
@@
-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
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., 5
9 Temple Place - Suite 330
,
-Boston, MA 0211
1-1307
, USA. */
+not, write to the Free Software Foundation, Inc., 5
1 Franklin Street - Fifth Floor
,
+Boston, MA 0211
0-1301
, USA. */
#include <stdio.h> /* for EOF */
#include <stdio.h> /* for EOF */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include "libiberty.h"
#include "safe-ctype.h" /* for HOST_CHARSET_ASCII */
#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
@deftypefn Extension {unsigned int} hex_value (int @var{c})
Returns the numeric equivalent of the given character when interpreted
-as a hex
i
decimal digit. The result is undefined if you pass an
+as a hex
a
decimal 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.
invalid hex digit. Note that the value you pass will be cast to
@code{unsigned char} within the macro.
@@
-153,7
+156,7
@@
unsigned char _hex_value[_hex_array_size];
#endif /* not ASCII */
void
#endif /* not ASCII */
void
-hex_init ()
+hex_init (
void
)
{
#ifndef HEX_TABLE_INITIALIZED
int i;
{
#ifndef HEX_TABLE_INITIALIZED
int i;
This page took
0.042299 seconds
and
4
git commands to generate.