mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-09 00:00:03 +01:00
define auxiliary array as static
This commit is contained in:
parent
5b224d13a2
commit
3e969125c5
1 changed files with 2 additions and 1 deletions
|
@ -46,6 +46,7 @@
|
|||
|
||||
#include <hermit/string.h>
|
||||
|
||||
/* HermitCore use only the 64bit version */
|
||||
#define __64BIT__
|
||||
|
||||
#ifdef __64BIT__
|
||||
|
@ -63,7 +64,7 @@ typedef unsigned long long u_quad_t;
|
|||
typedef long long quad_t;
|
||||
typedef unsigned long uintptr_t;
|
||||
#define NBBY 8 /* number of bits in a byte */
|
||||
char const hex2ascii_data[] = "0123456789abcdefghijklmnopqrstuvwxyz";
|
||||
static char const hex2ascii_data[] = "0123456789abcdefghijklmnopqrstuvwxyz";
|
||||
#define hex2ascii(hex) (hex2ascii_data[hex])
|
||||
#define va_list __builtin_va_list
|
||||
#define va_start __builtin_va_start
|
||||
|
|
Loading…
Add table
Reference in a new issue