#include <afsconfig.h>
#include <afs/param.h>
-RCSID
- ("$Header$");
#include <afs/stds.h>
#include <sys/types.h>
#else
#include <netinet/in.h>
#endif
-#ifdef HAVE_STRING_H
#include <string.h>
-#else
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
-#endif
-#endif
#include <stdio.h>
#include "ptserver.h"
+#include "display.h"
#ifdef PR_REMEMBER_TIMES
}
tm = localtime(&clock);
if (tm->tm_year != this_year)
- strftime(buffer, 32, "%m/%d/%Y %T", tm);
+ strftime(buffer, 32, "%m/%d/%Y %H:%M:%S", tm);
else
- strftime(buffer, 32, "%m/%d %T", tm);
+ strftime(buffer, 32, "%m/%d %H:%M:%S", tm);
return buffer;
}
#endif
#define host(a) (hostOrder ? (a) : ntohl(a))
static void
-PrintEntries(f, hostOrder, indent, e, n)
- FILE *f;
- int hostOrder; /* structures in host order */
- int indent;
- struct prentry *e;
- int n;
+PrintEntries(FILE *f, int hostOrder, int indent, struct prentry *e, int n)
{
int i;
int newline;
}
int
-pr_PrintEntry(f, hostOrder, ea, e, indent)
- FILE *f;
- int hostOrder; /* structures in host order */
- afs_int32 ea;
- struct prentry *e;
- int indent;
+pr_PrintEntry(FILE *f, int hostOrder, afs_int32 ea, struct prentry *e, int indent)
{
int i;