From e87be8c5794ccd6eecd3b420dc12085a3608fadb Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Tue, 9 Jun 2009 22:30:28 +0000 Subject: [PATCH] aix6-no-vprintf-but-strict-kernel-prototypes-20090609 LICENSE IPL10 alas, we can't use varargs style prototypes since we can't handle the args! --- src/rx/rx_prototypes.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/rx/rx_prototypes.h b/src/rx/rx_prototypes.h index 9b114fe62..307e75d01 100644 --- a/src/rx/rx_prototypes.h +++ b/src/rx/rx_prototypes.h @@ -366,9 +366,13 @@ extern osi_socket rxi_GetHostUDPSocket(u_int host, u_short port); #if defined(KERNEL) && (defined(AFS_AIX_ENV) && !defined(AFS_AIX61_ENV)) extern void osi_Panic(char *fmt, void *a1, void *a2, void *a3); #else +#ifdef AFS_AIX61_ENV +/* No prototype. Deliberate, since there's no vprintf et al */ +#else extern void osi_Panic(char *fmt, ...); #endif #endif +#endif extern int osi_utoa(char *buf, size_t len, unsigned long val); extern void rxi_InitPeerParams(struct rx_peer *pp); extern void shutdown_rxkernel(void); -- 2.39.5