* Register rpc service for server callback
*/
extern void
-_DtCm_init_agent()
+_DtCm_init_agent(void)
{
int s = RPC_ANYSOCK;
* Unregister with the rpc service.
*/
extern void
-_DtCm_destroy_agent()
+_DtCm_destroy_agent(void)
{
if (mapped == 0)
return;
}
extern void
-_DtCm_process_updates()
+_DtCm_process_updates(void)
{
#if defined(CSRG_BASED) || defined(__linux__)
int i, nfd;
#endif /* not SunOS */
static void
-_DtCm_handle_callback()
+_DtCm_handle_callback(void)
{
_CallbackInfo *ptr, *prev;
boolean_t keep = B_FALSE;
free(tbl);
}
-static int hash_string(s,modulo)
-register char *s;
-int modulo;
+static int hash_string(char *s, int modulo)
{
register unsigned result = 0;
register int i=1;
}
extern char *
-_DtCmGetLocalHost()
+_DtCmGetLocalHost(void)
{
static char *host = NULL;
}
extern char *
-_DtCmGetHostAtDomain()
+_DtCmGetHostAtDomain(void)
{
static char *hostname = NULL;
char *host;
}
extern char *
-_DtCmGetUserName()
+_DtCmGetUserName(void)
{
static char *name = NULL;
_Xgetpwparams pwd_buf;