aboutsummaryrefslogtreecommitdiffstats
path: root/optable.h
diff options
context:
space:
mode:
authordan <[email protected]>2023-05-26 17:52:17 -0400
committerdan <[email protected]>2023-05-26 17:52:17 -0400
commit70c848876dc6a4ec8d326eab4fcf129ca30d4c74 (patch)
tree7562a068080f2d6ed4f92eede33fcd150cdd18d4 /optable.h
parent55d3248ea3e7f08d8f637602128b44556846d51c (diff)
downloadforth-70c848876dc6a4ec8d326eab4fcf129ca30d4c74.tar.gz
forth-70c848876dc6a4ec8d326eab4fcf129ca30d4c74.tar.bz2
forth-70c848876dc6a4ec8d326eab4fcf129ca30d4c74.zip
refactor: make defineop static, remove from interface
Diffstat (limited to 'optable.h')
-rw-r--r--optable.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/optable.h b/optable.h
index ebf9a06..b55b38e 100644
--- a/optable.h
+++ b/optable.h
@@ -32,16 +32,6 @@ typedef struct {
} wordop;
/**
- * defineop reads a function identifier, followed by the commands to run when the function
- * is called, stopping when a semicolon is reached.
- * Reading is done from the input string.
- *
- * returns new position of input index
- *
- */
-int defineop(int starti, char *input);
-
-/**
* getop returns the first wordop in the optable which is called by the word given as a parameter
* if none exist, returns 0
*/