From f7b74c1725b497df5ce836545c127ad565175c70 Mon Sep 17 00:00:00 2001 From: rsc Date: Tue, 28 Dec 2004 17:34:05 +0000 Subject: FreeBSD tweaks --- src/cmd/acid/main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/cmd/acid/main.c') diff --git a/src/cmd/acid/main.c b/src/cmd/acid/main.c index 0d1909ce..f1372f84 100644 --- a/src/cmd/acid/main.c +++ b/src/cmd/acid/main.c @@ -52,7 +52,7 @@ dumbmap(int fd) void main(int argc, char *argv[]) { - Lsym *l; + Lsym *volatile l; Node *n; char buf[128], *s; int pid, i; @@ -173,7 +173,8 @@ main(int argc, char *argv[]) static int attachfiles(int argc, char **argv) { - int fd, pid; + int fd; + volatile int pid; char *s; int i, omode; Fhdr *hdr; -- cgit v1.2.3