summaryrefslogtreecommitdiff
path: root/sys/src/cmd/acid/acid.h
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-02-09 22:43:09 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2014-02-09 22:43:09 +0100
commit16acf605e21e55e8f0520cf54016bfec5291802e (patch)
treeb63615e24216e3d054c052cf330372e1a45b4a23 /sys/src/cmd/acid/acid.h
parent9bdf602ebbdcfcb4baaeb17499a1f1f6865ddc61 (diff)
acid: make 'a' and 'A' format to have the same size as mach->szaddr
to make it easier to write portable acid code, we introduce 'A' format in the same meaning as in db(1): A Print the value of dot in hexadecimal. Dot is unaffected. both 'a' (symbolic) and 'A' will both have 64 or 32 bit size depending on the mach, so pointer array indexing works the same.
Diffstat (limited to 'sys/src/cmd/acid/acid.h')
-rw-r--r--sys/src/cmd/acid/acid.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/src/cmd/acid/acid.h b/sys/src/cmd/acid/acid.h
index bd0d6b7cb..41f63db4f 100644
--- a/sys/src/cmd/acid/acid.h
+++ b/sys/src/cmd/acid/acid.h
@@ -29,6 +29,8 @@ typedef struct Frtype Frtype;
Extern int kernel;
Extern int text;
Extern int silent;
+Extern int fsize[];
+Extern char afmt;
Extern Fhdr fhdr;
Extern int line;
Extern Biobuf* bout;