Make a helper function file-local.

llvm-svn: 299377
This commit is contained in:
Rui Ueyama 2017-04-03 19:14:35 +00:00
parent eb2d1a782c
commit c49bb0f418
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ void OutputSection::sortCtorsDtors() {
// Fill [Buf, Buf + Size) with Filler. Filler is written in big
// endian order. This is used for linker script "=fillexp" command.
void fill(uint8_t *Buf, size_t Size, uint32_t Filler) {
static void fill(uint8_t *Buf, size_t Size, uint32_t Filler) {
uint8_t V[4];
write32be(V, Filler);
size_t I = 0;