[commit: packages/time] master: better C type for name param (7a52230)
git at git.haskell.org
git at git.haskell.org
Sun Dec 20 07:47:12 UTC 2015
Repository : ssh://git@git.haskell.org/time
On branch : master
Link : http://git.haskell.org/packages/time.git/commitdiff/7a522300362bccc114014743d3e0d6b2823fa252
>---------------------------------------------------------------
commit 7a522300362bccc114014743d3e0d6b2823fa252
Author: Ashley Yakeley <ashley at semantic.org>
Date: Wed May 11 22:55:54 2005 -0700
better C type for name param
darcs-hash:20050512055554-ac6dd-5dd656b851561c2626a5a62eaef9600aeab35490
>---------------------------------------------------------------
7a522300362bccc114014743d3e0d6b2823fa252
timestuff.c | 2 +-
timestuff.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/timestuff.c b/timestuff.c
index 386616e..0fdbd9e 100644
--- a/timestuff.c
+++ b/timestuff.c
@@ -1,6 +1,6 @@
#include "timestuff.h"
-long int get_current_timezone_seconds (time_t t,int* dst,char** name)
+long int get_current_timezone_seconds (time_t t,int* dst,char const* * name)
{
struct tm tmd;
struct tm* ptm = localtime_r(&t,&tmd);
diff --git a/timestuff.h b/timestuff.h
index 936cd84..c161fc9 100644
--- a/timestuff.h
+++ b/timestuff.h
@@ -1,3 +1,3 @@
#include <time.h>
-long int get_current_timezone_seconds (time_t,int* dst,char** name);
+long int get_current_timezone_seconds (time_t,int* dst,char const* * name);
More information about the ghc-commits
mailing list