#include <h/mh.h>
#include <fcntl.h>
#include <h/utils.h>
+#include "../sbr/m_mktemp.h"
static int hdrfd = NOTOK;
static int txtfd = NOTOK;
chmod (drft, m_gmprot ());
ready_msg (msgnam);
- lseek (hdrfd, (off_t) 0, SEEK_SET); /* msgnam not accurate */
+ lseek(hdrfd, 0, SEEK_SET); /* msgnam not accurate */
cpydata (hdrfd, fileno (ofp), msgnam, drft);
for (resent = NULL;;) {
free (resent);
if (txtfd != NOTOK) {
- lseek (txtfd, (off_t) 0, SEEK_SET); /* msgnam not accurate */
+ lseek(txtfd, 0, SEEK_SET); /* msgnam not accurate */
cpydata (txtfd, fileno (ofp), msgnam, drft);
}