summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/src/glfs-handles.h2
-rw-r--r--api/src/glfs.h8
2 files changed, 5 insertions, 5 deletions
diff --git a/api/src/glfs-handles.h b/api/src/glfs-handles.h
index b89d09c3404..42f46b0aaac 100644
--- a/api/src/glfs-handles.h
+++ b/api/src/glfs-handles.h
@@ -325,7 +325,7 @@ glfs_xreaddirplus_get_object (struct glfs_xreaddirp_stat *xstat) __THROW
* explicitly using 'glfs_h_close()'
*/
struct glfs_object*
-glfs_object_copy (struct glfs_object *src);
+glfs_object_copy (struct glfs_object *src) __THROW
GFAPI_PUBLIC(glfs_object_copy, 3.11.0);
int glfs_h_lease (struct glfs *fs, struct glfs_object *object,
diff --git a/api/src/glfs.h b/api/src/glfs.h
index ee4ba1fd72a..eac150512fa 100644
--- a/api/src/glfs.h
+++ b/api/src/glfs.h
@@ -905,7 +905,7 @@ glfs_xreaddirplus_get_stat (struct glfs_xreaddirp_stat *xstat) __THROW
int
glfs_xreaddirplus_r (struct glfs_fd *glfd, uint32_t flags,
struct glfs_xreaddirp_stat **xstat_p,
- struct dirent *ext, struct dirent **res);
+ struct dirent *ext, struct dirent **res) __THROW
GFAPI_PUBLIC(glfs_xreaddirplus_r, 3.11.0);
#define GFAPI_MAX_LOCK_OWNER_LEN 255
@@ -934,7 +934,7 @@ glfs_xreaddirplus_r (struct glfs_fd *glfd, uint32_t flags,
* 0: SUCCESS
* -1: FAILURE
*/
-int glfs_fd_set_lkowner (glfs_fd_t *glfd, void *data, int len);
+int glfs_fd_set_lkowner (glfs_fd_t *glfd, void *data, int len) __THROW
GFAPI_PUBLIC(glfs_fd_set_lkowner, 3.10.7);
/*
@@ -1055,7 +1055,7 @@ typedef void (*glfs_upcall_cbk) (struct glfs_upcall *up_arg, void *data);
*/
int
glfs_upcall_register (struct glfs *fs, uint32_t event_list,
- glfs_upcall_cbk cbk, void *data);
+ glfs_upcall_cbk cbk, void *data) __THROW
GFAPI_PUBLIC(glfs_upcall_register, 3.13.0);
/*
@@ -1082,7 +1082,7 @@ glfs_upcall_register (struct glfs *fs, uint32_t event_list,
* -1: FAILURE
*/
int
-glfs_upcall_unregister (struct glfs *fs, uint32_t event_list);
+glfs_upcall_unregister (struct glfs *fs, uint32_t event_list) __THROW
GFAPI_PUBLIC(glfs_upcall_unregister, 3.13.0);
/* Lease Types */