/*
* Copyright 2000, International Business Machines Corporation and others.
* All Rights Reserved.
- *
+ *
* This software has been released under the terms of the IBM Public
* License. For details, see the LICENSE file in the top-level source
* directory or online at http://www.openafs.org/dl/license10.html
void
PrintCallInfo(void)
{ /*PrintCallInfo */
- register int i; /*Loop variable */
+ int i; /*Loop variable */
int numInt32s; /*# int32words returned */
afs_int32 *currInt32; /*Ptr to current afs_int32 value */
char *printableTime; /*Ptr to printable time string */
* meat of the program. We count the number of File Servers
* to watch, allocate enough space to remember all the connection
* info for them, then go for it.
- *
+ *
*
* Arguments:
* a_s : Ptr to the command line syntax descriptor.
*/
curr_item = a_s->parms[P_FS_NAMES].items;
for (currFS = 0; currFS < numFSs; currFS++) {
-#if defined(AFS_DARWIN_ENV) || defined(AFS_FBSD_ENV)
- FSSktArray[currFS].sin_family = AF_INET; /*Internet family */
-#else
- FSSktArray[currFS].sin_family = htons(AF_INET); /*Internet family */
-#endif
- FSSktArray[currFS].sin_port = htons(7000); /*FileServer port */
+ FSSktArray[currFS].sin_family = AF_INET;
+ FSSktArray[currFS].sin_port = htons(7000); /* FileServer port */
he = hostutil_GetHostByName(curr_item->data);
if (he == NULL) {
fprintf(stderr, "[%s] Can't get host info for '%s'\n", rn,
main(int argc, char **argv)
{
static char rn[] = "xstat_fs_test"; /*Routine name */
- register afs_int32 code; /*Return code */
+ afs_int32 code; /*Return code */
struct cmd_syndesc *ts; /*Ptr to cmd line syntax desc */
/*