about summary refs log tree commit diff stats
path: root/state.h
diff options
context:
space:
mode:
Diffstat (limited to 'state.h')
-rw-r--r--state.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/state.h b/state.h
index 54b2981..56e0f6d 100644
--- a/state.h
+++ b/state.h
@@ -22,12 +22,9 @@ typedef struct {
   FILE *defout;
   char last_op;
   char *prompt;
-  stack stack;
-
+  stack stk;
   /* btree elements */
-  
-  char **sorted_names; /* sorted function names */
-  stack *((*exec)(stack)); /* sorted function calls, same order as above */
+  command *sorted; /* sorted by function name */
 } state;
 
 #endif