summaryrefslogtreecommitdiff
path: root/open.h
diff options
context:
space:
mode:
authorFelix von Leitner <felix-libowfat@fefe.de>2001-10-15 12:17:50 +0000
committerFelix von Leitner <felix-libowfat@fefe.de>2001-10-15 12:17:50 +0000
commit51267cf417dd890966c0930ccd0221b64f20fd76 (patch)
tree8807433d2ff836a4b91a001a5881ba10b723873e /open.h
parentdfdd4b49056196d3ea6082d2ebcec3424c941adf (diff)
downloadlibowfat-51267cf417dd890966c0930ccd0221b64f20fd76.tar.gz
libowfat-51267cf417dd890966c0930ccd0221b64f20fd76.zip
remove __THROW
Diffstat (limited to 'open.h')
-rw-r--r--open.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/open.h b/open.h
index 6bd1358..aa16098 100644
--- a/open.h
+++ b/open.h
@@ -1,29 +1,27 @@
#ifndef OPEN_H
#define OPEN_H
-#include <sys/cdefs.h>
-
/* open filename for reading and return the file handle or -1 on error */
-extern int open_read(const char *filename) __THROW;
+extern int open_read(const char *filename);
/* create filename for exclusive write only use (mode 0600) and return
* the file handle or -1 on error */
-extern int open_excl(const char *filename) __THROW;
+extern int open_excl(const char *filename);
/* open filename for appending write only use (mode 0600)
* and return the file handle or -1 on error.
* All write operation will append after the last byte, regardless of
* seeking or other processes also appending to the file. The file will
* be created if it does not exist. */
-extern int open_append(const char *filename) __THROW;
+extern int open_append(const char *filename);
/* open filename for writing (mode 0644). Create the file if it does
* not exist, truncate it to zero length otherwise. Return the file
* handle or -1 on error. */
-extern int open_trunc(const char *filename) __THROW;
+extern int open_trunc(const char *filename);
/* open filename for writing. Create the file if it does not exist.
* Return the file handle or -1 on error. */
-extern int open_write(const char *filename) __THROW;
+extern int open_write(const char *filename);
#endif