From 11e07d23ed4fe12a05565a2a201cc9792b67ed32 Mon Sep 17 00:00:00 2001 From: Lucio De Re Date: Tue, 12 Apr 2011 11:00:09 -0700 Subject: [PATCH] ld: ELF header function declarations. Added "void" inside "()" for two functions. R=golang-dev, r CC=golang-dev https://golang.org/cl/4381056 --- src/cmd/ld/elf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);