diff options
author | Kaleb S. KEITHLEY <kkeithle@redhat.com> | 2015-08-19 01:23:23 -0400 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2015-09-09 03:15:28 -0700 |
commit | 4cd4a97e8410f0888c6b154a40279c143dc9f549 (patch) | |
tree | e522b7ec430389775e2be7875af605410528cadf | |
parent | 04b5fe0f6ab32bafeefc30558e259cb47e1b71f3 (diff) |
build: fix build on Mac OS X, gfapi symbol versions
symbol versions for the handle apis are incorrect in glfs-handles.h
Change-Id: I9f239a4e427ea236a6a837a7c7acc980da10ca79
BUG: 1254850
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
Reviewed-on: http://review.gluster.org/11954
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Niels de Vos <ndevos@redhat.com>
-rw-r--r-- | api/src/glfs-handles.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/api/src/glfs-handles.h b/api/src/glfs-handles.h index 74cc61da651..6446cc30c7d 100644 --- a/api/src/glfs-handles.h +++ b/api/src/glfs-handles.h @@ -161,30 +161,30 @@ 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.0); + GFAPI_PUBLIC(glfs_h_create, 3.4.2); struct glfs_object *glfs_h_mkdir (struct glfs *fs, struct glfs_object *parent, const char *path, mode_t flags, struct stat *sb) __THROW - GFAPI_PUBLIC(glfs_h_mkdir, 3.4.0); + GFAPI_PUBLIC(glfs_h_mkdir, 3.4.2); struct glfs_object *glfs_h_mknod (struct glfs *fs, struct glfs_object *parent, const char *path, mode_t mode, dev_t dev, struct stat *sb) __THROW - GFAPI_PUBLIC(glfs_h_mknod, 3.4.0); + GFAPI_PUBLIC(glfs_h_mknod, 3.4.2); struct glfs_object *glfs_h_symlink (struct glfs *fs, struct glfs_object *parent, const char *name, const char *data, struct stat *stat) __THROW - GFAPI_PUBLIC(glfs_h_symlink, 3.4.0); + GFAPI_PUBLIC(glfs_h_symlink, 3.4.2); /* Operations on the actual objects */ int glfs_h_unlink (struct glfs *fs, struct glfs_object *parent, const char *path) __THROW - GFAPI_PUBLIC(glfs_h_unlink, 3.4.0); + GFAPI_PUBLIC(glfs_h_unlink, 3.4.2); int glfs_h_close (struct glfs_object *object) __THROW - GFAPI_PUBLIC(glfs_h_close, 3.4.0); + GFAPI_PUBLIC(glfs_h_close, 3.4.2); int glfs_caller_specific_init (void *uid_caller_key, void *gid_caller_key, void *future) __THROW @@ -192,11 +192,11 @@ int glfs_caller_specific_init (void *uid_caller_key, void *gid_caller_key, int glfs_h_truncate (struct glfs *fs, struct glfs_object *object, off_t offset) __THROW - GFAPI_PUBLIC(glfs_h_truncate, 3.4.0); + GFAPI_PUBLIC(glfs_h_truncate, 3.4.2); int glfs_h_stat(struct glfs *fs, struct glfs_object *object, struct stat *stat) __THROW - GFAPI_PUBLIC(glfs_h_stat, 3.4.0); + GFAPI_PUBLIC(glfs_h_stat, 3.4.2); int glfs_h_statfs(struct glfs *fs, struct glfs_object *object, struct statvfs *stat) __THROW @@ -204,7 +204,7 @@ int glfs_h_statfs(struct glfs *fs, struct glfs_object *object, int glfs_h_getattrs (struct glfs *fs, struct glfs_object *object, struct stat *stat) __THROW - GFAPI_PUBLIC(glfs_h_getattrs, 3.4.0); + GFAPI_PUBLIC(glfs_h_getattrs, 3.4.2); int glfs_h_getxattrs (struct glfs *fs, struct glfs_object *object, const char *name, void *value, @@ -213,7 +213,7 @@ int glfs_h_getxattrs (struct glfs *fs, struct glfs_object *object, int glfs_h_setattrs (struct glfs *fs, struct glfs_object *object, struct stat *sb, int valid) __THROW - GFAPI_PUBLIC(glfs_h_setattrs, 3.4.0); + GFAPI_PUBLIC(glfs_h_setattrs, 3.4.2); int glfs_h_setxattrs (struct glfs *fs, struct glfs_object *object, const char *name, const void *value, @@ -222,16 +222,16 @@ int glfs_h_setxattrs (struct glfs *fs, struct glfs_object *object, int glfs_h_readlink (struct glfs *fs, struct glfs_object *object, char *buf, size_t bufsiz) __THROW - GFAPI_PUBLIC(glfs_h_readlink, 3.4.0); + GFAPI_PUBLIC(glfs_h_readlink, 3.4.2); int glfs_h_link (struct glfs *fs, struct glfs_object *linktgt, struct glfs_object *parent, const char *name) __THROW - GFAPI_PUBLIC(glfs_h_link, 3.4.0); + GFAPI_PUBLIC(glfs_h_link, 3.4.2); int glfs_h_rename (struct glfs *fs, struct glfs_object *olddir, const char *oldname, struct glfs_object *newdir, const char *newname) __THROW - GFAPI_PUBLIC(glfs_h_rename, 3.4.0); + GFAPI_PUBLIC(glfs_h_rename, 3.4.2); int glfs_h_removexattrs (struct glfs *fs, struct glfs_object *object, const char *name) __THROW @@ -240,7 +240,7 @@ int glfs_h_removexattrs (struct glfs *fs, struct glfs_object *object, /* Operations enabling opaque invariant handle to object transitions */ ssize_t glfs_h_extract_handle (struct glfs_object *object, unsigned char *handle, int len) __THROW - GFAPI_PUBLIC(glfs_h_extract_handle, 3.4.0); + GFAPI_PUBLIC(glfs_h_extract_handle, 3.4.2); /* Given a handle, looks up the inode and creates glfs_object. * In addition, if provided 'stat', copies the inode attributes @@ -248,16 +248,16 @@ ssize_t glfs_h_extract_handle (struct glfs_object *object, struct glfs_object *glfs_h_create_from_handle (struct glfs *fs, unsigned char *handle, int len, struct stat *stat) __THROW - GFAPI_PUBLIC(glfs_h_create_from_handle, 3.4.0); + GFAPI_PUBLIC(glfs_h_create_from_handle, 3.4.2); /* Operations enabling object handles to fd transitions */ struct glfs_fd *glfs_h_opendir (struct glfs *fs, struct glfs_object *object) __THROW - GFAPI_PUBLIC(glfs_h_opendir, 3.4.0); + GFAPI_PUBLIC(glfs_h_opendir, 3.4.2); struct glfs_fd *glfs_h_open (struct glfs *fs, struct glfs_object *object, int flags) __THROW - GFAPI_PUBLIC(glfs_h_open, 3.4.0); + GFAPI_PUBLIC(glfs_h_open, 3.4.2); int glfs_h_access (struct glfs *fs, struct glfs_object *object, int mask) __THROW |