Menu

Diff of /joe/builtin.h [26aafc] .. [7c54b3]  Maximize  Restore

Switch to side-by-side view

--- a/joe/builtin.h
+++ b/joe/builtin.h
@@ -3,24 +3,24 @@
 #ifndef JOEWIN
 
 struct jfile {
-	FILE *f;		/* Regular file, or NULL for built-in */
-	unsigned char *p;	/* Built-in file pointer */
+	FILE *f;	/* Regular file, or NULL for built-in */
+	const char *p;	/* Built-in file pointer */
 };
 
-JFILE *jfopen(unsigned char *name, const char *mode);
-unsigned char *jfgets(unsigned char **buf,JFILE *f);
+JFILE *jfopen(const char *name, const char *mode);
+char *jfgets(char **buf,JFILE *f);
 int jfclose(JFILE *f);
-unsigned char **jgetbuiltins(unsigned char *suffix);
+char **jgetbuiltins(const char *suffix);
 
-extern unsigned char *builtins[];
+extern const char *builtins[];
 
 #else
 
 #include "jwbuiltin.h"
 
-JFILE *jfopen(unsigned char *name, const char *mode);
-unsigned char *jfgets(unsigned char **buf, JFILE *f);
-unsigned char **jgetbuiltins(unsigned char *suffix);
+JFILE *jfopen(char *name, const char *mode);
+char *jfgets(char **buf, JFILE *f);
+char **jgetbuiltins(char *suffix);
 
 #define jfclose jwfclose
 
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.