[commit: packages/time] format-widths, improve-leapseconds, master, posix-perf, tasty, wip/travis: better C type for name param (7a52230)
git at git.haskell.org
git at git.haskell.org
Mon Feb 20 21:08:26 UTC 2017
- Previous message: [commit: packages/time] format-widths, improve-leapseconds, master, posix-perf, tasty, wip/travis: better tz for test (865557b)
- Next message: [commit: packages/time] format-widths, improve-leapseconds, master, posix-perf, tasty, wip/travis: XCode 2.0 project (1ecbd6c)
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Repository : ssh://git@git.haskell.org/time
On branches: format-widths,improve-leapseconds,master,posix-perf,tasty,wip/travis
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);
- Previous message: [commit: packages/time] format-widths, improve-leapseconds, master, posix-perf, tasty, wip/travis: better tz for test (865557b)
- Next message: [commit: packages/time] format-widths, improve-leapseconds, master, posix-perf, tasty, wip/travis: XCode 2.0 project (1ecbd6c)
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the ghc-commits
mailing list