pull-prototypes-to-head-20020821
[openafs.git] / src / viced / fsprobe.c
index 33f7738..785c00b 100644 (file)
@@ -20,6 +20,15 @@ RCSID("$Header$");
 #include <netinet/in.h>
 #include <ubik.h>
 
+#ifdef HAVE_STRING_H
+#include <string.h>
+#else
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+#endif
+
+
 
 
 struct ubik_client *cstruct;
@@ -52,16 +61,16 @@ afs_int32 serverAddr;
     rx_SetRxDeadTime(50);
     switch (scIndex) {
        case 0 :
-           sc = (struct rx_securityClass *) rxnull_NewClientSecurityObject();
+           sc = rxnull_NewClientSecurityObject();
            break;
        
 #ifdef notdef /* security */
        case 1 :
-           sc = (struct rx_securityClass *) rxvab_NewClientSecurityObject(&ttoken.sessionKey, ttoken.ticket, 0);
+           sc = rxvab_NewClientSecurityObject(&ttoken.sessionKey, ttoken.ticket, 0);
            break;
 
        case 2:
-           sc = (struct rx_securityClass *) rxkad_NewClientSecurityObject (rxkad_clear,
+           sc = rxkad_NewClientSecurityObject (rxkad_clear,
                &ttoken.sessionKey, ttoken.kvno, ttoken.ticketLen, ttoken.ticket);
 #endif /* notdef */
     }