From a68104340b5d3768e533a7503deb068fdf06d72b Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Sun, 21 Mar 2010 11:42:15 -0400 Subject: [PATCH] panic prototype for aix 6 aix does need a prototype for the lame version of the function Change-Id: I636b734bb725c425b2b4c6e4ae3e9473e087c21d Reviewed-on: http://gerrit.openafs.org/1608 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- src/rx/rx_prototypes.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/rx/rx_prototypes.h b/src/rx/rx_prototypes.h index f7f3b3af09..c8b4ed14d8 100644 --- a/src/rx/rx_prototypes.h +++ b/src/rx/rx_prototypes.h @@ -377,10 +377,8 @@ extern osi_socket rxi_GetHostUDPSocket(u_int host, u_short port); # undef osi_Assert # define osi_Assert(expr) \ do { if (!(expr)) { osi_AssertFailK(#expr, __FILE__, __LINE__); BUG(); } } while (0) -# elif (defined(AFS_AIX_ENV) && !defined(AFS_AIX61_ENV)) +# elif defined(AFS_AIX_ENV) extern void osi_Panic(char *fmt, void *a1, void *a2, void *a3); -# elif defined(AFS_AIX61_ENV) -/* No prototype. Deliberate, since there's no vprintf et al */ # else extern void osi_Panic(char *fmt, ...) AFS_ATTRIBUTE_FORMAT(__printf__, 1, 2);