Improve type compatibility and enable
ANSI C prototypes.
rtable2_clnt.c rtable2_xdr.c: rtable3.h namechange1.sed namechange2.sed
agent_xdr.c agent.c: agent.h
-#ifdef LinuxArchitecture
-EXTRASED=sed -e 's/update_failed.*=.*1,.*/update_failed = 1/g' |
-#else
-EXTRASED=
-#endif
-
agent.h:
$(RM) $@
cat agent.wrapbegin > agent.h
*/
Update_Status *
-_DtCm_update_callback_1(Table_Res_4 *t, void *dummy)
+_DtCm_update_callback_1(Table_Res_4 *t, _DtCm_Connection *conn)
{
static Update_Status status = update_succeeded;
_CallbackInfo *cbi;
#if defined(HPUX)
#include <rpc/types.h>
#endif /* HPUX */
-
-#if defined(linux) || defined(CSRG_BASED)
-# if defined __STDC__
-# define REDEFINE_STDC
-# undef __STDC__
-# endif
-#endif /* linux */
-
#define hpux
#endif
#endif
-
-#if defined(linux)
-# if defined REDEFINE_STDC
-# undef REDEFINE_STDC
-# define __STDC__
-# endif
-#endif /* linux */
*/
program AGENTPROG {
version AGENTVERS {
- Update_Status update_callback(Table_Res) = 1;
+ Update_Status update_callback(Table_Res_4) = 1;
}=1;
}=00;
#include <EUSCompat.h>
#include "ansi_c.h"
+#include <sys/types.h>
extern CSA_calendar_user *_DtCm_alloc_calendar_users(uint num_elem);