aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Bellon <[email protected]>2002-01-02 17:48:27 +0000
committerStefan Bellon <[email protected]>2002-01-02 17:48:27 +0000
commit52901c7380cf9181ede62bfdb4a7fd443656749b (patch)
treecfa114f0725cce5fdeeca42db913b4b26a2599f9
parentchanged comment wording (diff)
downloadgnupg-52901c7380cf9181ede62bfdb4a7fd443656749b.tar.gz
gnupg-52901c7380cf9181ede62bfdb4a7fd443656749b.zip
updated prototypes for RISC OS
-rw-r--r--include/ChangeLog6
-rw-r--r--include/util.h15
2 files changed, 18 insertions, 3 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index ac2663fed..6cb933ff6 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,9 @@
+2002-01-02 Stefan Bellon <[email protected]>
+
+ * util.h [__riscos__]: Updated prototype list.
+
+ * types.h [__riscos__]: Changed comment wording.
+
2001-12-27 David Shaw <[email protected]>
* KEYSERVER_SCHEME_NOT_FOUND should be 127 to match the POSIX
diff --git a/include/util.h b/include/util.h
index 0af1746c9..94827107e 100644
--- a/include/util.h
+++ b/include/util.h
@@ -255,19 +255,28 @@ int vasprintf ( char **result, const char *format, va_list args);
/******* RISC OS stuff ***********/
#ifdef __riscos__
+pid_t riscos_getpid(void);
+int riscos_kill(pid_t pid, int sig);
FILE *riscos_fopen(const char *filename, const char *mode);
int riscos_open(const char *filename, int oflag, ...);
int riscos_fstat(int fildes, struct stat *buf);
+int riscos_access(const char *path, int amode);
int fdopenfile(const char *filename, const int allow_write);
void close_fds(void);
int renamefile(const char *old, const char *new);
char *gstrans(const char *old);
void not_implemented(const char *feature);
-void set_filetype(const char *filename, const int type);
+#ifdef DEBUG
+void dump_fdlist(void);
+void list_openfiles(void);
+#endif
#ifndef __RISCOS__C__
- #define fopen riscos_fopen
+ #define getpid riscos_getpid
+ #define kill(a,b) riscos_kill((a),(b))
+ #define fopen(a,b) riscos_fopen((a),(b))
+ #define fstat(a,b) riscos_fstat((a),(b))
#define open riscos_open
- #define fstat riscos_fstat
+ #define access(a,b) riscos_access((a),(b))
#endif /* !__RISCOS__C__ */
#endif /* __riscos__ */