time_util: fix -Wshadow issue

time_util.c was already fixed, but the header was missing the change,
breaking the build on a very old compiler.

Change-Id: I95685c9a3e25dcb7567f2551b92f20c8792a6e47
Reviewed-on: https://code.wireshark.org/review/17384
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Dario Lombardo <lomato@gmail.com>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
This commit is contained in:
Peter Wu 2016-08-30 11:12:44 +02:00
parent 7c75370224
commit a892c90367
1 changed files with 3 additions and 3 deletions

View File

@ -38,11 +38,11 @@ time_t mktime_utc(struct tm *tm);
* Fetch the current process user and system CPU times, convert them to
* seconds, and store them in the provided parameters.
*
* @param utime Seconds spent in user mode.
* @param stime Seconds spent in system (kernel) mode.
* @param user_time Seconds spent in user mode.
* @param sys_time Seconds spent in system (kernel) mode.
*/
WS_DLL_PUBLIC
void get_resource_usage(double *utime, double *stime);
void get_resource_usage(double *user_time, double *sys_time);
/** Print the process CPU time followed by a log message.
*