[libxslt] Fix endTimer parameter type
- From: Nick Wellnhofer <nwellnhof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxslt] Fix endTimer parameter type
- Date: Mon, 28 Mar 2016 14:07:45 +0000 (UTC)
commit 8137d94d1ad0371ab2b7544fac4025b0dcb87f23
Author: Nick Wellnhofer <wellnhofer aevum de>
Date: Mon Mar 28 15:33:03 2016 +0200
Fix endTimer parameter type
xsltproc/xsltproc.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/xsltproc/xsltproc.c b/xsltproc/xsltproc.c
index 3f49cec..ead3893 100644
--- a/xsltproc/xsltproc.c
+++ b/xsltproc/xsltproc.c
@@ -287,7 +287,7 @@ static void startTimer(void)
{
begin=clock();
}
-static void endTimer(char *format, ...)
+static void endTimer(const char *format, ...)
{
long msec;
va_list ap;
@@ -313,7 +313,7 @@ static void startTimer(void)
* Do nothing
*/
}
-static void endTimer(char *format, ...)
+static void endTimer(const char *format, ...)
{
/*
* We cannot do anything because we don't have a timing function
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]