ref: eaef5458ab0a5d86885fb81ca7f4084fd77985d2
parent: 63780713d12f169f36b758d1b4cc7a1dc60f459e
author: Ori Bernstein <ori@eigenstate.org>
date: Thu Mar 26 19:03:25 EDT 2015
ake
--- a/parse/parse.h
+++ b/parse/parse.h
@@ -4,7 +4,7 @@
# define FATAL
#endif
-#define Useversion 0
+#define Abiversion 1
typedef uint8_t byte;
typedef unsigned int uint;
--- a/parse/use.c
+++ b/parse/use.c
@@ -820,7 +820,7 @@
tydedup = mkht(tdhash, tdeq);
if (fgetc(f) != 'U')
return 0;
- if (rdint(f) != Useversion) {
+ if (rdint(f) != Abiversion) {
fprintf(stderr, "usefile version mismatch. try rebuilding your deps.\n");
return 0;
}
@@ -964,7 +964,7 @@
/* usefile name */
wrbyte(f, 'U');
- wrint(f, Useversion); /* use version */
+ wrint(f, Abiversion); /* use version */
if (st->name)
wrstr(f, st->name);
else