aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/acid
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-12-28 17:34:05 +0000
committerrsc <devnull@localhost>2004-12-28 17:34:05 +0000
commitf7b74c1725b497df5ce836545c127ad565175c70 (patch)
tree72bd3834e60d22524f9cccb0a90d4489aabf97c6 /src/cmd/acid
parentd54ead7fb922cfa661c7b7f0d0b2ba1251cdea7f (diff)
downloadplan9port-f7b74c1725b497df5ce836545c127ad565175c70.tar.gz
plan9port-f7b74c1725b497df5ce836545c127ad565175c70.tar.bz2
plan9port-f7b74c1725b497df5ce836545c127ad565175c70.zip
FreeBSD tweaks
Diffstat (limited to 'src/cmd/acid')
-rw-r--r--src/cmd/acid/main.c5
1 files changed, 3 insertions, 2 deletions
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;