>> Not to remove them, but to surround them with ifdefs so that, on those
>> platforms, osi_Panic is in the proper form (always four args).
>
> Taking Simon's suggestion to declare osi_Panic to take an unspecified
> number of arguments ('extern void osi_Panic();') would prevent that
> need, and would avoid a compilation error.
I don't think I'm explaining this very well, so here's an example:
In rx_kcommon.c, there are four references to osi_Panic (lines 264, 285, 977, &
1304) with varying numbers of arguments. Because osi_Panic on aix/irix is
implemented with a mandatory 4 arguments, these lines raise errors when
compiling.
<pre>
...
c-1162 cc: ERROR File = /usr/people/clc31/src/openafs-git/src/rx/rx_kcommon.c,
Line = 1304
Too few arguments in function call.
osi_Panic("rxk_Listener: No more Rx buffers!\n");
...
</pre>
I don't see how it compiles on AIX, so I must be missing something!
____________________________________________________________
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
Check it out at http://www.inbox.com/earth
_______________________________________________
OpenAFS-devel mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-devel