summary refs log tree commit diff
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-07-15 07:15:40 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-09-15 23:01:28 -0400
commit065565be8394c663e7cd7a5e8fddbefedef05feb (patch)
treed791039331a927d7edc3a57a9f626550588db04a
parent0cb8198493ed07454f58d32cb3f670750dbe0285 (diff)
downloadroux-065565be8394c663e7cd7a5e8fddbefedef05feb.tar.gz
move opdesc definition
-rw-r--r--lisc/lisc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisc/lisc.h b/lisc/lisc.h
index 3d5e38b..a6d4ead 100644
--- a/lisc/lisc.h
+++ b/lisc/lisc.h
@@ -54,7 +54,6 @@ struct OpDesc {
 	int commut:1;
 	char *name;
 };
-extern OpDesc opdesc[];
 
 enum {
 	JXXX,
@@ -117,6 +116,8 @@ struct Fn {
 
 
 /* parse.c */
+extern OpDesc opdesc[];
+
 void *alloc(size_t);
 Fn *parsefn(FILE *);
 void printfn(Fn *, FILE *);