diff options
author | 2013-11-13 02:33:24 +0000 | |
---|---|---|
committer | 2013-11-13 02:33:24 +0000 | |
commit | de26263ced2d7a95cb8990e132217cb7d2282810 (patch) | |
tree | 1d6f590d9228cd245b37d3eb0957ec062196d53e | |
parent | Honor RB_TIMEBAD on vax too as other ports. (diff) | |
download | wireguard-openbsd-de26263ced2d7a95cb8990e132217cb7d2282810.tar.xz wireguard-openbsd-de26263ced2d7a95cb8990e132217cb7d2282810.zip |
Complete the prototype in a function cast to quiet a gcc warning
ok deraadt@
-rw-r--r-- | libexec/ld.so/hppa/archdep.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.so/hppa/archdep.h b/libexec/ld.so/hppa/archdep.h index 844d1848793..b957b82f681 100644 --- a/libexec/ld.so/hppa/archdep.h +++ b/libexec/ld.so/hppa/archdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: archdep.h,v 1.6 2013/01/13 18:44:55 miod Exp $ */ +/* $OpenBSD: archdep.h,v 1.7 2013/11/13 02:33:24 guenther Exp $ */ /* * Copyright (c) 2004 Michael Shalayeff @@ -93,7 +93,7 @@ RELOC_RELA(Elf_RelA *r, const Elf_Sym *s, Elf_Addr *p, unsigned long v, hppa_call((arg), (sobj)->dyn.pltgot, (func)) #define MD_ATEXIT(sobj, sym, func) \ - MD_CALL((sobj), (void (*)())((sobj)->obj_base + (sym)->st_value), &_hppa_dl_dtors) + MD_CALL((sobj), (void (*)(void))((sobj)->obj_base + (sym)->st_value), &_hppa_dl_dtors) #define GOT_PERMS PROT_READ |