diff options
| author | 2023-06-18 22:48:50 +0200 | |
|---|---|---|
| committer | 2023-06-18 22:48:50 +0200 | |
| commit | f18b2ba67f6b2831c7bd47e701b04bd522b94fc0 (patch) | |
| tree | c2c4cac4b1c150574782e7b52fa4291d2667085e | |
| parent | 32661a8d4c4be869e04f9432da3c485fcfa494de (diff) | |
forgot some statics
| -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 { |