diff options
| author | Kaleb S. KEITHLEY <kkeithle@redhat.com> | 2018-05-23 11:25:26 -0400 | 
|---|---|---|
| committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2018-05-29 14:38:51 +0000 | 
| commit | 040619ef9946fb6cd151a07239613b6d88417935 (patch) | |
| tree | 0263559b6d69a471f414e6bedbd3d1bf9e88fb26 | |
| parent | 202694a6c4597d54fd410d8cc6bf59abf3de6573 (diff) | |
api: missing __THROW on pub function decls
missing __THROW on pub function decls needed for C++
Change-Id: Ia0ff09d311741e4cdc8ef171e07bbd56c24b9260
fixes: bz#1582549
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
| -rw-r--r-- | api/src/glfs-handles.h | 2 | ||||
| -rw-r--r-- | api/src/glfs.h | 8 | 
2 files changed, 5 insertions, 5 deletions
diff --git a/api/src/glfs-handles.h b/api/src/glfs-handles.h index d0af82117d0..58ef85a9f47 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 diff --git a/api/src/glfs.h b/api/src/glfs.h index 842b17530a5..16eae642906 100644 --- a/api/src/glfs.h +++ b/api/src/glfs.h @@ -900,7 +900,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 @@ -929,7 +929,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);  /* @@ -1050,7 +1050,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);  /* @@ -1077,7 +1077,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 */  | 
