projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add some gcc hint defines
[mmh]
/
sbr
/
dtime.c
diff --git
a/sbr/dtime.c
b/sbr/dtime.c
index
2f8e5dc
..
1d3bc06
100644
(file)
--- a/
sbr/dtime.c
+++ b/
sbr/dtime.c
@@
-6,10
+6,9
@@
** complete copyright information.
*/
** complete copyright information.
*/
+#include <time.h>
#include <h/mh.h> /* for snprintf() */
#include <h/mh.h> /* for snprintf() */
-#include <h/nmh.h>
#include <h/tws.h>
#include <h/tws.h>
-#include <time.h>
#if !defined(HAVE_STRUCT_TM_TM_GMTOFF)
extern long timezone;
#if !defined(HAVE_STRUCT_TM_TM_GMTOFF)
extern long timezone;
@@
-40,12
+39,6
@@
char *tw_ldotw[] = {
"Saturday", NULL
};
"Saturday", NULL
};
-struct zone {
- char *std;
- char *dst;
- int shift;
-};
-
static int dmsize[] = {
31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31
};
static int dmsize[] = {
31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31
};