diff options
author | Tom Tromey <tromey@cygnus.com> | 1998-04-01 14:48:20 +0800 |
---|---|---|
committer | Tom Tromey <tromey@src.gnome.org> | 1998-04-01 14:48:20 +0800 |
commit | 0032eeb1e01ee1c6d7ca545b906d4b9ccfbfcded (patch) | |
tree | 85a753649dc550bd006eef253714b511c0f2f246 | |
parent | 26c91c237c336ddcd05e2c3179a159b18e6f1cfb (diff) | |
download | gsoc2013-evolution-0032eeb1e01ee1c6d7ca545b906d4b9ccfbfcded.tar.gz 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
-rw-r--r-- | calendar/ChangeLog | 4 | ||||
-rw-r--r-- | calendar/timeutil.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 8dc5fd0a12..f971250cde 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,7 @@ +Tue Mar 31 23:46:50 1998 Tom Tromey <tromey@cygnus.com> + + * timeutil.c (format_simple_hour): `buf' now static. + 1998-03-31 Federico Mena Quintero <federico@nuclecu.unam.mx> * gncal.c: Removed #include "gtkcalendar.h", because it now comes 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 |