summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>1999-05-10 16:18:33 +0000
committerespie <espie@openbsd.org>1999-05-10 16:18:33 +0000
commite04ded4b3cdad006179d50b3cf3a44683e24a450 (patch)
tree307df20c32dba0cfbfead0c6b81d35624afa5c7f
parentFixes endianess problems with old a.out tools. This makes building (diff)
downloadwireguard-openbsd-e04ded4b3cdad006179d50b3cf3a44683e24a450.tar.xz
wireguard-openbsd-e04ded4b3cdad006179d50b3cf3a44683e24a450.zip
add needed declaration of struct ranlib tag to keep cross-endian tools
gcc-happy.
-rw-r--r--gnu/usr.bin/ld/ld.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/usr.bin/ld/ld.h b/gnu/usr.bin/ld/ld.h
index 615be36d3f7..d5e6efabd1d 100644
--- a/gnu/usr.bin/ld/ld.h
+++ b/gnu/usr.bin/ld/ld.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ld.h,v 1.3 1998/04/25 06:53:40 niklas Exp $ */
+/* $OpenBSD: ld.h,v 1.4 1999/05/10 16:18:33 espie Exp $ */
/*-
* This code is derived from software copyrighted by the Free Software
@@ -703,6 +703,7 @@ void md_swapout_jmpslot __P((jmpslot_t *, int));
void swap_longs __P((long *, int));
void swap_symbols __P((struct nlist *, int));
void swap_zsymbols __P((struct nzlist *, int));
+struct ranlib; /* keep pedantic ISO compilers happy */
void swap_ranlib_hdr __P((struct ranlib *, int));
void swap__dynamic __P((struct _dynamic *));
void swap_section_dispatch_table __P((struct section_dispatch_table *));