From 87c51a17a4a9d787db0ee8ed5f81e0250d2e643e Mon Sep 17 00:00:00 2001 From: "Kaleb S. KEITHLEY" Date: Thu, 5 Apr 2018 14:50:45 -0400 Subject: gfapi: fix a couple of minor issues duplicatation of exported functions in gfapi.map. Only the newest one is needed. Both the legacy and current symbols are exported. glfs_io_cbk34 typedef should not be in a public header file. The old application was compiled with the original glfs_io_cbk. Outside of libgfapi, nothing now uses/needs this old typedef, move it into the C file that needs it. Similarly glfs_realpath34() decl should not be in glfs.h. Period. Old applications were compiled with the then glfs_realpath() decl and linked with glfs_realpath@@GFAPI_3_4.0. New applications should only call glfs_realpath() and it will be linked to the new/current glfs_realpath(). Change-Id: Icd5b0c9e9b68f0c133f14447b09ace35f33dbab2 fixes: bz#1564235 Signed-off-by: Kaleb S. KEITHLEY --- api/src/glfs-fops.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'api/src/glfs-fops.c') diff --git a/api/src/glfs-fops.c b/api/src/glfs-fops.c index a01499a6bf6..726574714e2 100644 --- a/api/src/glfs-fops.c +++ b/api/src/glfs-fops.c @@ -33,6 +33,8 @@ #define READDIRBUF_SIZE (sizeof(struct dirent) + GF_NAME_MAX + 1) +typedef void (*glfs_io_cbk34) (glfs_fd_t *fd, ssize_t ret, void *data); + /* * This function will mark glfd for deletion and decrement its refcount. */ -- cgit