projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor clarification in mh-alias(5)
[mmh]
/
sbr
/
dtimep.lex
diff --git
a/sbr/dtimep.lex
b/sbr/dtimep.lex
index
60a8d82
..
db2b193
100644
(file)
--- a/
sbr/dtimep.lex
+++ b/
sbr/dtimep.lex
@@
-9,6
+9,7
@@
%n2500
%a5000
%{
%n2500
%a5000
%{
+#include <time.h>
#include <ctype.h>
#include <h/tws.h>
#include <ctype.h>
#include <h/tws.h>
@@
-157,7
+158,7
@@
static int day_map[] = {
static void
zonehack (struct tws *tw)
{
static void
zonehack (struct tws *tw)
{
- register struct tm *tm;
+ struct tm *tm;
if (dmktime (tw) == (time_t) -1)
return;
if (dmktime (tw) == (time_t) -1)
return;
@@
-221,7
+222,7
@@
nl [ \t\n()]
*/
YY_BUFFER_STATE lexhandle;
*/
YY_BUFFER_STATE lexhandle;
- register unsigned char *cp;
+ unsigned char *cp;
static struct tws tw;
memset(&tw,0,sizeof(struct tws));
static struct tws tw;
memset(&tw,0,sizeof(struct tws));