summaryrefslogtreecommitdiffstats
path: root/api/src/glfs.h
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/src/glfs.h
parent4ae7f0714b809cfebb64f6e5b5a70664e17a7a56 (diff)
downloadglusterfs-dcccfeb887d777ef77e35271a451f70c7c5222d6.tar.gz
glusterfs-dcccfeb887d777ef77e35271a451f70c7c5222d6.tar.xz
glusterfs-dcccfeb887d777ef77e35271a451f70c7c5222d6.zip
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/src/glfs.h')
-rw-r--r--api/src/glfs.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/api/src/glfs.h b/api/src/glfs.h
index ee4ba1fd72..eac150512f 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 */