diff options
| -rw-r--r-- | amd64/sysv.c | 2 | ||||
| -rw-r--r-- | elf.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/amd64/sysv.c b/amd64/sysv.c index dc43b81..8c95388 100644 --- a/amd64/sysv.c +++ b/amd64/sysv.c @@ -131,7 +131,7 @@ abiret(short r[2], uchar cls[2], int *ni, union irtype typ) return ret; } -const char amd64_rnames[][6] = { +static const char amd64_rnames[][6] = { #define R(r) #r, LIST_REGS(R) #undef R @@ -21,8 +21,8 @@ struct sym { size; }; static vec_of(struct sym) symtab; -uchar dataalign = 1, rodataalign = 1, bssalign = 1; -uint nbss; +static uchar dataalign = 1, rodataalign = 1, bssalign = 1; +static uint nbss; static vec_of(uchar) data, rodata; static uint ntextrel, nrodatarel, ndatarel; struct reloc { |