From dadbc9c02439d46c072e947591f5e270d1f08ab4 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 | 6 ------ 2 files changed, 9 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..9efa531fb 100644 --- a/src/clib/xtg/xtg_io.c +++ b/src/clib/xtg/xtg_io.c @@ -62,12 +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) {