From 63d46236592c9e3c2fef05fd60d1c39548e57a8d Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Tue, 18 Jul 2017 15:23:12 +0530 Subject: common-utils: Remove fop_enum_to_string, get_fop_int Implementation of these two functions becomes easier by using gf_fop_list[] array. So implemented that and removed usage of these functions. BUG: 1472250 Change-Id: I8a592913f9eeb02d965708bcf28a637588ed4988 Signed-off-by: Pranith Kumar K Reviewed-on: https://review.gluster.org/17812 Reviewed-by: Niels de Vos CentOS-regression: Gluster Build System Smoke: Gluster Build System --- libglusterfs/src/glusterfs.h | 1 - 1 file changed, 1 deletion(-) (limited to 'libglusterfs/src/glusterfs.h') diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h index 19e4ee6ec16..a8c94837635 100644 --- a/libglusterfs/src/glusterfs.h +++ b/libglusterfs/src/glusterfs.h @@ -298,7 +298,6 @@ #define GF_LK_MANDATORY 1 const char *fop_enum_to_pri_string (glusterfs_fop_t fop); -const char *fop_enum_to_string (glusterfs_fop_t fop); #define GF_SET_IF_NOT_PRESENT 0x1 /* default behaviour */ #define GF_SET_OVERWRITE 0x2 /* Overwrite with the buf given */ -- cgit