summaryrefslogtreecommitdiffstats
path: root/sys/sys/imgact_elf.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1999-01-01 14:30:11 +0000
committerbde <bde@FreeBSD.org>1999-01-01 14:30:11 +0000
commitac92ef8448f2e8f9078c0c72bceb00d4b7f9a271 (patch)
treeb14c85c00c1cbb5cdc7946795af1eb9b3571cf97 /sys/sys/imgact_elf.h
parent85cf5d9658938186d563a8927fe268edae60efd6 (diff)
downloadFreeBSD-src-ac92ef8448f2e8f9078c0c72bceb00d4b7f9a271.zip
FreeBSD-src-ac92ef8448f2e8f9078c0c72bceb00d4b7f9a271.tar.gz
Don't use __BEGIN_DECLS/__END_DECLS in the kernel.
Fixed some other, even more minor style bugs.
Diffstat (limited to 'sys/sys/imgact_elf.h')
-rw-r--r--sys/sys/imgact_elf.h18
1 files changed, 8 insertions, 10 deletions
diff --git a/sys/sys/imgact_elf.h b/sys/sys/imgact_elf.h
index d44e4aa..d841a39 100644
--- a/sys/sys/imgact_elf.h
+++ b/sys/sys/imgact_elf.h
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: imgact_elf.h,v 1.8 1998/09/07 07:30:44 dfr Exp $
+ * $Id: imgact_elf.h,v 1.9 1998/09/14 05:36:51 jdp Exp $
*/
#ifndef _SYS_IMGACT_ELF_H_
@@ -64,10 +64,10 @@ typedef struct {
#define MAX_BRANDS 8
-int elf_insert_brand_entry __P((Elf32_Brandinfo *entry));
-int elf_remove_brand_entry __P((Elf32_Brandinfo *entry));
+int elf_insert_brand_entry __P((Elf32_Brandinfo *entry));
+int elf_remove_brand_entry __P((Elf32_Brandinfo *entry));
-#else
+#else /* !(ELF_TARG_CLASS == ELFCLASS32) */
/*
* Structure used to pass infomation from the loader to the
@@ -94,16 +94,14 @@ typedef struct {
#define MAX_BRANDS 8
-int elf_insert_brand_entry __P((Elf64_Brandinfo *entry));
-int elf_remove_brand_entry __P((Elf64_Brandinfo *entry));
+int elf_insert_brand_entry __P((Elf64_Brandinfo *entry));
+int elf_remove_brand_entry __P((Elf64_Brandinfo *entry));
-#endif
+#endif /* ELF_TARG_CLASS == ELFCLASS32 */
struct proc;
-__BEGIN_DECLS
-int elf_coredump __P((struct proc *));
-__END_DECLS
+int elf_coredump __P((struct proc *));
#endif /* KERNEL */
OpenPOWER on IntegriCloud