api: fix two typos of GFAPI_PUBLIC function define

Change-Id: I2f9915b3572c4cbce6748e99a037daba439a187e
BUG: 1446273
Signed-off-by: Kinglong Mee <mijinlong@open-fs.com>
Reviewed-on: https://review.gluster.org/17112
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Smoke: Gluster Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
This commit is contained in:
Kinglong Mee 2017-04-25 08:20:28 -04:00 committed by Niels de Vos
parent 081f9febee
commit 4e31840039
2 changed files with 2 additions and 2 deletions

View File

@ -199,7 +199,7 @@ struct glfs_object *glfs_h_lookupat (struct glfs *fs,
struct glfs_object *glfs_h_creat (struct glfs *fs, struct glfs_object *parent,
const char *path, int flags, mode_t mode,
struct stat *sb) __THROW
GFAPI_PUBLIC(glfs_h_create, 3.4.2);
GFAPI_PUBLIC(glfs_h_creat, 3.4.2);
struct glfs_object *glfs_h_mkdir (struct glfs *fs, struct glfs_object *parent,
const char *path, mode_t flags,

View File

@ -466,7 +466,7 @@ glfs_t *glfs_from_glfd (glfs_fd_t *fd) __THROW
int glfs_set_xlator_option (glfs_t *fs, const char *xlator, const char *key,
const char *value) __THROW
GFAPI_PUBLIC(glfs_set_xlator_options, 3.4.0);
GFAPI_PUBLIC(glfs_set_xlator_option, 3.4.0);
/*