From 68034a3f92a779f8fe67525472f450d473769dd3 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Tue, 19 Apr 2016 17:52:26 +0200 Subject: [PATCH] build: remove unused gf_darwin_compat_*xattr() functions These functions are not implemented or used anywhere, there is no reason to have them declared in the compatibility header. Change-Id: If33ed2cc0be86b9f04f05f3af822758e263f6d53 BUG: 1198849 Signed-off-by: Niels de Vos Reviewed-on: http://review.gluster.org/14033 Smoke: Gluster Build System NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System Reviewed-by: Kaleb KEITHLEY --- libglusterfs/src/compat.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libglusterfs/src/compat.h b/libglusterfs/src/compat.h index 04779bff4..81e74f410 100644 --- a/libglusterfs/src/compat.h +++ b/libglusterfs/src/compat.h @@ -12,7 +12,6 @@ #define __COMPAT_H__ #include -#include "dict.h" #ifndef LLONG_MAX #define LLONG_MAX __LONG_LONG_MAX__ /* compat with old gcc */ @@ -255,10 +254,6 @@ enum { #define FTW_CONTINUE 0 #endif -int32_t gf_darwin_compat_listxattr (int len, dict_t *dict, int size); -int32_t gf_darwin_compat_getxattr (const char *key, dict_t *dict); -int32_t gf_darwin_compat_setxattr (dict_t *dict); - #ifndef _PATH_UMOUNT #define _PATH_UMOUNT "/sbin/umount" #endif