aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/timeutil.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@cygnus.com>1998-04-01 14:48:20 +0800
committerTom Tromey <tromey@src.gnome.org>1998-04-01 14:48:20 +0800
commit0032eeb1e01ee1c6d7ca545b906d4b9ccfbfcded (patch)
tree85a753649dc550bd006eef253714b511c0f2f246 /calendar/timeutil.c
parent26c91c237c336ddcd05e2c3179a159b18e6f1cfb (diff)
downloadgsoc2013-evolution-0032eeb1e01ee1c6d7ca545b906d4b9ccfbfcded.tar
gsoc2013-evolution-0032eeb1e01ee1c6d7ca545b906d4b9ccfbfcded.tar.gz
gsoc2013-evolution-0032eeb1e01ee1c6d7ca545b906d4b9ccfbfcded.tar.bz2
gsoc2013-evolution-0032eeb1e01ee1c6d7ca545b906d4b9ccfbfcded.tar.lz
gsoc2013-evolution-0032eeb1e01ee1c6d7ca545b906d4b9ccfbfcded.tar.xz
gsoc2013-evolution-0032eeb1e01ee1c6d7ca545b906d4b9ccfbfcded.tar.zst
gsoc2013-evolution-0032eeb1e01ee1c6d7ca545b906d4b9ccfbfcded.zip
`buf' now static.
Tue Mar 31 23:46:50 1998 Tom Tromey <tromey@cygnus.com> * timeutil.c (format_simple_hour): `buf' now static. svn path=/trunk/; revision=85
Diffstat (limited to 'calendar/timeutil.c')
-rw-r--r--calendar/timeutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/timeutil.c b/calendar/timeutil.c
index fb3bce4582..c9e574fbfd 100644
--- a/calendar/timeutil.c
+++ b/calendar/timeutil.c
@@ -39,7 +39,7 @@ time_from_start_duration (time_t start, char *duration)
char *
format_simple_hour (int hour, int use_am_pm)
{
- char buf[256];
+ static char buf[256];
/* I don't know whether this is the best way to internationalize it.
* Does any language use different conventions? - Federico