git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
c4537f0
)
panic prototype for aix 6
author
Derrick Brashear
<shadow@dementia.org>
Sun, 21 Mar 2010 15:42:15 +0000 (11:42 -0400)
committer
Derrick Brashear
<shadow@dementia.org>
Sun, 21 Mar 2010 16:03:35 +0000 (09:03 -0700)
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>
src/rx/rx_prototypes.h
patch
|
blob
|
history
diff --git
a/src/rx/rx_prototypes.h
b/src/rx/rx_prototypes.h
index
f7f3b3a
..
c8b4ed1
100644
(file)
--- 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);