From 3b210d9e471002fce8a355ff81f381217eecb907 Mon Sep 17 00:00:00 2001 From: mferrera Date: Mon, 13 Nov 2023 08:52:25 +0100 Subject: [PATCH] CLN: Remove unused C fseek function --- src/clib/xtg/libxtg.h | 3 --- src/clib/xtg/xtg_io.c | 5 ----- 2 files changed, 8 deletions(-) diff --git a/src/clib/xtg/libxtg.h b/src/clib/xtg/libxtg.h index 0ed81746c..073da68e1 100644 --- a/src/clib/xtg/libxtg.h +++ b/src/clib/xtg/libxtg.h @@ -96,9 +96,6 @@ xtg_fopen(const char *filename, const char *mode); FILE * xtg_fopen_bytestream(char *swig_bytes, long swig_bytes_len, const char *mode); -int -xtg_fseek_start(FILE *fhandle); - int xtg_fflush(FILE *fhandle); diff --git a/src/clib/xtg/xtg_io.c b/src/clib/xtg/xtg_io.c index 6bb193f27..f80117ee3 100644 --- a/src/clib/xtg/xtg_io.c +++ b/src/clib/xtg/xtg_io.c @@ -62,11 +62,6 @@ xtg_fopen_bytestream(char *stream, long nstream, const char *mode) } #endif -int -xtg_fseek_start(FILE *fhandle) -{ - return fseek(fhandle, 0, SEEK_SET); -} int xtg_fflush(FILE *fhandle)