mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 07:20:11 +00:00
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 <shadow@dementia.org> Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
parent
c4537f0442
commit
a68104340b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user