From d54daaeb6d5b0344e77ad7f83096612850bbe4e2 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Fri, 14 Mar 1997 03:13:42 +0000 Subject: [PATCH] renamed stime -> printable_time to avoid conflict on HP/UX git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1407 ec53bebd-3082-4978-b11e-865c3cabbd6b --- kuser/klist.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kuser/klist.c b/kuser/klist.c index 5383b68b6..f58041be5 100644 --- a/kuser/klist.c +++ b/kuser/klist.c @@ -1,7 +1,7 @@ #include "kuser_locl.h" -char* -stime(time_t t) +static char* +printable_time(time_t t) { static char s[128]; strcpy(s, ctime(&t)+ 4); @@ -48,8 +48,8 @@ main (int argc, char **argv) ccache, &creds, &cursor) == 0) { - printf ("%s ", stime(creds.times.authtime)); - printf ("%s ", stime(creds.times.endtime)); + printf ("%s ", printable_time(creds.times.authtime)); + printf ("%s ", printable_time(creds.times.endtime)); err = krb5_unparse_name (context, creds.server, &str); if (err) abort ();