summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorKaleb S. KEITHLEY <kkeithle@redhat.com>2018-05-23 11:25:26 -0400
committerAmar Tumballi <amarts@redhat.com>2018-05-25 08:18:50 +0000
commitdcccfeb887d777ef77e35271a451f70c7c5222d6 (patch)
treeeb0227fc2b682ff3932ed858cf9c4ab4bdfd9322 /api
parent4ae7f0714b809cfebb64f6e5b5a70664e17a7a56 (diff)
api: missing __THROW on pub function decls
missing __THROW on pub function decls needed for C++ Change-Id: Ia0ff09d311741e4cdc8ef171e07bbd56c24b9260 updates: bz#1193929 Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
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 */