summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJungyeon Yoon <jungyeon.yoon@gmail.com>2017-04-25 15:23:32 +0900
committerJeff Darcy <jeff@pl.atyp.us>2017-04-25 15:00:04 +0000
commit6d021a281076cccd05bbf31e3d66670250edfb4a (patch)
treecc3cf1005da47c94830dbb93a7552dc091a3df7a
parentd6194de9731ae8f6d97735c7cd5b2434a44c21b5 (diff)
remove redundant function definition
function definition is duplicated erase second sys_ftruncate() definition No test cases Change-Id: I3eead1380b527b8b0e480f45b39e0c4bc9b2b92a Signed-off-by: Jungyeon Yoon <jungyeon.yoon@gmail.com> Reviewed-on: https://review.gluster.org/17106 Smoke: Gluster Build System <jenkins@build.gluster.org> Tested-by: Prashanth Pai <ppai@redhat.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Jeff Darcy <jeff@pl.atyp.us>
-rw-r--r--libglusterfs/src/syscall.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/libglusterfs/src/syscall.h b/libglusterfs/src/syscall.h
index 6bb374822ee..b847186e724 100644
--- a/libglusterfs/src/syscall.h
+++ b/libglusterfs/src/syscall.h
@@ -204,9 +204,6 @@ int
sys_access (const char *pathname, int mode);
int
-sys_ftruncate (int fd, off_t length);
-
-int
sys_fallocate(int fd, int mode, off_t offset, off_t len);
ssize_t