]> diplodocus.org Git - nmh/blobdiff - sbr/dtimep.l
rcvtty.c: Remove duplicate prototype. Other in mts.h.
[nmh] / sbr / dtimep.l
index e9dd815341f6b44512d227d98fbd3d1631a971af..9053708802a2a64c9c34988ff2d5e9e03f7d6411 100644 (file)
@@ -11,6 +11,8 @@
 %a5000
 %{
 #include <h/nmh.h>
 %a5000
 %{
 #include <h/nmh.h>
+#include <h/mh.h>
+#include <h/utils.h>
 #include <h/tws.h>
 
   /* Since we're looking at a string at a time, don't worry about
 #include <h/tws.h>
 
   /* Since we're looking at a string at a time, don't worry about
@@ -231,7 +233,7 @@ nl      [ \t\n()]
   char *cp;
   static struct tws tw; 
 
   char *cp;
   static struct tws tw; 
 
-  memset(&tw,0,sizeof(struct tws));
+  ZERO(&tw);
 
   lexhandle = yy_scan_string(lexstr);
 %}
 
   lexhandle = yy_scan_string(lexstr);
 %}