diff --git a/src/cmd/ld/elf.h b/src/cmd/ld/elf.h index df15cb11583..b27ae679b61 100644 --- a/src/cmd/ld/elf.h +++ b/src/cmd/ld/elf.h @@ -946,10 +946,10 @@ typedef Elf64_Shdr ElfShdr; typedef Elf64_Phdr ElfPhdr; void elfinit(void); -ElfEhdr *getElfEhdr(); +ElfEhdr *getElfEhdr(void); ElfShdr *newElfShstrtab(vlong); ElfShdr *newElfShdr(vlong); -ElfPhdr *newElfPhdr(); +ElfPhdr *newElfPhdr(void); uint32 elfwritehdr(void); uint32 elfwritephdrs(void); uint32 elfwriteshdrs(void);