summaryrefslogtreecommitdiffstats
path: root/warp/intrp.h
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2020-11-10 22:42:19 +0000
committerchristos <christos@NetBSD.org>2020-11-10 22:42:19 +0000
commita6ad8fb14c6bed68eb8b37750e1b2fea36a8c908 (patch)
tree96a006165d8615e5e0cb4e78ef064e66b8e16437 /warp/intrp.h
parent1bb28c57a5d2c06152fff5de57a902bec60cc30d (diff)
downloadbsdgames-darwin-a6ad8fb14c6bed68eb8b37750e1b2fea36a8c908.tar.gz
bsdgames-darwin-a6ad8fb14c6bed68eb8b37750e1b2fea36a8c908.tar.zst
bsdgames-darwin-a6ad8fb14c6bed68eb8b37750e1b2fea36a8c908.zip
Time warp forward 34 years so that it compiles (but not work)
Diffstat (limited to 'warp/intrp.h')
-rw-r--r--warp/intrp.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/warp/intrp.h b/warp/intrp.h
index fd5c57ad..b6bfc627 100644
--- a/warp/intrp.h
+++ b/warp/intrp.h
@@ -9,15 +9,14 @@
*
*/
-EXT char *origdir INIT(Nullch); /* cwd when warp invoked */
-EXT char *homedir INIT(Nullch); /* login directory */
-EXT char *dotdir INIT(Nullch); /* where . files go */
-EXT char *logname INIT(Nullch); /* login id */
+EXT char *origdir INIT(NULL); /* cwd when warp invoked */
+EXT char *homedir INIT(NULL); /* login directory */
+EXT char *dotdir INIT(NULL); /* where . files go */
+EXT char *logname INIT(NULL); /* login id */
EXT char *hostname; /* host name */
-EXT char *realname INIT(Nullch); /* real name from /etc/passwd */
+EXT char *realname INIT(NULL); /* real name from /etc/passwd */
-void intrp_init();
-char *filexp();
-char *dointerp();
-void interp();
-char *getrealname();
+void intrp_init(char *);
+char *filexp(const char *);
+void interp(char *, size_t, const char *);
+char *dointerp(char *, size_t, const char *, const char *);