Hello community, here is the log from the commit of package acct checked in at Thu Sep 7 01:03:36 CEST 2006. -------- --- acct/acct.changes 2006-08-22 18:59:26.000000000 +0200 +++ acct/acct.changes 2006-09-05 15:34:29.000000000 +0200 @@ -1,0 +2,6 @@ +Tue Sep 5 15:32:51 CEST 2006 - anosek@suse.cz + +- fixed compiler warning: old-style function definition + [#203115] (warning.patch) + +------------------------------------------------------------------- New: ---- acct-6.3.5-warning.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ acct.spec ++++++ --- /var/tmp/diff_new_pack.FYudXB/_old 2006-09-07 01:03:10.000000000 +0200 +++ /var/tmp/diff_new_pack.FYudXB/_new 2006-09-07 01:03:10.000000000 +0200 @@ -16,7 +16,7 @@ PreReq: %insserv_prereq %fillup_prereq fileutils %install_info_prereq Autoreqprov: on Version: 6.3.5 -Release: 692 +Release: 696 Source: %{name}-%{version}.tar.bz2 Source1: rc.acct Source2: logrotate.acct @@ -26,6 +26,7 @@ Patch3: %{name}-%{version}-acct_v3-fix.diff Patch4: %{name}-%{version}-time-fix.diff Patch5: %{name}-%{version}-hz.patch +Patch6: %{name}-%{version}-warning.patch URL: http://www.gnu.org/directory/acct.html BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: User-Specific Process Accounting @@ -48,6 +49,7 @@ %patch3 %patch4 %patch5 +%patch6 %build %define prefix /usr @@ -111,6 +113,9 @@ /usr/sbin/* %changelog -n acct +* Tue Sep 05 2006 - anosek@suse.cz +- fixed compiler warning: old-style function definition + [#203115] (warning.patch) * Tue Aug 22 2006 - postadal@suse.cz - define HZ as sysconf(_SC_CLK_TCK) if undefined * Wed Jan 25 2006 - mls@suse.de ++++++ acct-6.3.5-warning.patch ++++++ --- mktime.c.save 1997-10-14 01:40:36.000000000 +0100 +++ mktime.c 2006-08-31 09:18:15.000000000 +0100 @@ -124,9 +124,7 @@ #define localtime_r my_localtime_r static struct tm *localtime_r __P ((const time_t *, struct tm *)); static struct tm * -localtime_r (t, tp) - const time_t *t; - struct tm *tp; +localtime_r ( const time_t * t, struct tm * tp) { struct tm *l = localtime (t); if (! l) @@ -144,9 +142,7 @@ All values are in range, except possibly YEAR. If overflow occurs, yield the low order bits of the correct answer. */ static time_t -ydhms_tm_diff (year, yday, hour, min, sec, tp) - int year, yday, hour, min, sec; - const struct tm *tp; +ydhms_tm_diff (int year, int yday, int hour, int min, int sec, const struct tm *tp) { /* Compute intervening leap days correctly even if year is negative. Take care to avoid int overflow. time_t overflow is OK, since @@ -173,8 +169,7 @@ /* Convert *TP to a time_t value. */ time_t -mktime (tp) - struct tm *tp; +mktime (struct tm *tp) { #ifdef _LIBC /* POSIX.1 8.1.1 requires that whenever mktime() is called, the @@ -192,10 +187,7 @@ compared to what the result would be for UTC without leap seconds. If *OFFSET's guess is correct, only one CONVERT call is needed. */ time_t -__mktime_internal (tp, convert, offset) - struct tm *tp; - struct tm *(*convert) __P ((const time_t *, struct tm *)); - time_t *offset; +__mktime_internal (struct tm *tp, struct tm *(*convert) (const time_t *, struct tm *), time_t *offset) { time_t t, dt, t0; struct tm tm; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org