summaryrefslogtreecommitdiff
path: root/gnu/usr.sbin/sendmail
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2001-10-01 20:18:20 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2001-10-01 20:18:20 +0000
commitfe819999bd24769ce9785cc86d4ac0b7263708a7 (patch)
treeb30d4fa67d749f2f3c5cb5df5616b61e3a31c948 /gnu/usr.sbin/sendmail
parent37c97cf49a84993f0981fcb590ce7ff5eb540f22 (diff)
Enable the volatiles that keep gcc from complaining about variables
that may possibly be clobbered by longjmp().
Diffstat (limited to 'gnu/usr.sbin/sendmail')
-rw-r--r--gnu/usr.sbin/sendmail/Makefile.inc4
-rw-r--r--gnu/usr.sbin/sendmail/sendmail/parseaddr.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/gnu/usr.sbin/sendmail/Makefile.inc b/gnu/usr.sbin/sendmail/Makefile.inc
index 52ab3d87d93..2d850f0b7aa 100644
--- a/gnu/usr.sbin/sendmail/Makefile.inc
+++ b/gnu/usr.sbin/sendmail/Makefile.inc
@@ -1,9 +1,9 @@
-# $OpenBSD: Makefile.inc,v 1.6 2001/09/11 19:02:47 millert Exp $
+# $OpenBSD: Makefile.inc,v 1.7 2001/10/01 20:18:19 millert Exp $
.include <bsd.own.mk>
.include <bsd.obj.mk>
-ENVDEF+= -DNEWDB -DMAP_REGEX
+ENVDEF+= -DSM_OMIT_BOGUS_WARNINGS -DNEWDB -DMAP_REGEX
ENVDEF+= -DNETINET6 -DNEEDSGETIPNODE
.if (${YP:L} == "yes")
ENVDEF+=-DNIS
diff --git a/gnu/usr.sbin/sendmail/sendmail/parseaddr.c b/gnu/usr.sbin/sendmail/sendmail/parseaddr.c
index 09261dbf956..83dd3080067 100644
--- a/gnu/usr.sbin/sendmail/sendmail/parseaddr.c
+++ b/gnu/usr.sbin/sendmail/sendmail/parseaddr.c
@@ -2576,7 +2576,7 @@ maplocaluser(a, sendq, aliaslevel, e)
ENVELOPE *e;
{
register char **pvp;
- register ADDRESS *a1 = NULL;
+ register ADDRESS *SM_NONVOLATILE a1 = NULL;
auto char *delimptr;
char pvpbuf[PSBUFSIZE];