summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKinglong Mee <mijinlong@open-fs.com>2017-04-25 08:20:28 -0400
committerNiels de Vos <ndevos@redhat.com>2017-04-29 12:55:43 +0000
commit4e31840039cfd789c80160b52b4be81517108ca4 (patch)
treed98f98ca511034c325a730c85aac3eea5b400533
parent081f9febeec61787ebe81850a081beda17de3047 (diff)
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>
-rw-r--r--api/src/glfs-handles.h2
-rw-r--r--api/src/glfs.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/api/src/glfs-handles.h b/api/src/glfs-handles.h
index 740b759d0a0..ef994aaf88c 100644
--- a/api/src/glfs-handles.h
+++ b/api/src/glfs-handles.h
@@ -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,
diff --git a/api/src/glfs.h b/api/src/glfs.h
index f5a0e1a2a84..68fcf4ddcd9 100644
--- a/api/src/glfs.h
+++ b/api/src/glfs.h
@@ -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);
/*