Skip to content

Commit

Permalink
fseeko: unused, remove check and leftovers
Browse files Browse the repository at this point in the history
  • Loading branch information
0-wiz-0 committed Jan 17, 2024
1 parent 2eec983 commit 854a9b2
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ add_dependencies(distcheck dist)
check_function_exists(MD5Init HAVE_MD5INIT)
check_function_exists(SHA1Init HAVE_SHA1INIT)
check_function_exists(fnmatch HAVE_FNMATCH)
check_function_exists(fseeko HAVE_FSEEKO)
check_function_exists(getopt_long HAVE_GETOPT_LONG)
check_function_exists(getprogname HAVE_GETPROGNAME)

Expand Down
1 change: 0 additions & 1 deletion cmake-config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#cmakedefine HAVE_MD5INIT
#cmakedefine HAVE_SHA1INIT
#cmakedefine HAVE_FNMATCH
#cmakedefine HAVE_FSEEKO
#cmakedefine HAVE_GETOPT_LONG
#cmakedefine HAVE_GETPROGNAME

Expand Down
2 changes: 0 additions & 2 deletions src/ArchiveDir.cc
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@

#include "ArchiveDir.h"

// fseek
#include "compat.h"

#include "Dir.h"
#include "Exception.h"
Expand Down
4 changes: 0 additions & 4 deletions src/compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@
#include "compat_fnmatch.h"
#endif

#ifndef HAVE_FSEEKO
#define fseeko fseek
#endif

#ifdef HAVE_GETOPT_LONG
#include <getopt.h>
#else
Expand Down

0 comments on commit 854a9b2

Please sign in to comment.