pidgin/purple-plugin-pack
Clone
Summary
Browse
Changes
Graph
Merged in rw_grim/purple-plugin-pack (pull request #11)
2018-08-26, Gary Kramlich
7ebd38300a2b
Merged in rw_grim/purple-plugin-pack (pull request #11)
Comment out unfinished code that's throwing compiler warnings
Approved-by: Gary Kramlich
/*************************************************************************
* Timezone test module
* by Martijn van Oosterhout <kleptog@svana.org> (C) April 2006
* Licenced under the GNU General Public Licence version 2.
*
* Code to test the timezone module.
*************************************************************************/
//#include "private.h"
//#include "tzfile.h"
#include
"localtime.h"
int
main
()
{
struct
state
*
state
;
time_t
now
=
time
(
NULL
);
struct
tm
tm
;
state
=
timezone_load
(
"Australia/Sydney"
);
if
(
!
state
)
return
0
;
localsub
(
&
now
,
0
,
&
tm
,
state
);
gmtsub
(
&
now
,
0
,
&
tm
);
return
0
;
}