aboutsummaryrefslogtreecommitdiffstats
path: root/nsxiv.h
diff options
context:
space:
mode:
authorN-R-K <79544946+N-R-K@users.noreply.github.com>2022-01-02 21:13:23 +0100
committerGitHub <noreply@github.com>2022-01-02 21:13:23 +0100
commitf7145db7f8a5d136a522e0045e5ff39b2279e04c (patch)
tree131385bfe3d5852cc904b10320cfddff5c2081ea /nsxiv.h
parent0f3766eaaba949bc2eac276cb0a08e0195c17441 (diff)
downloadnsxiv-f7145db7f8a5d136a522e0045e5ff39b2279e04c.tar.zst
remove unused function and typedef (#199)
byteorder_t and size_readable is not used anywhere within the code. byteorder_t seems to be a remain from some time sxiv handled exif data itself instead of relying on a library, introduced in 691c6d7, and probably became irrelevant when libexif was added as dependency again. And size_readable from some time it displayed the file size in the window title, introduced in bad9a70.
Diffstat (limited to 'nsxiv.h')
-rw-r--r--nsxiv.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/nsxiv.h b/nsxiv.h
index 618a1ac..eb5b398 100644
--- a/nsxiv.h
+++ b/nsxiv.h
@@ -56,11 +56,6 @@
}
typedef enum {
- BO_BIG_ENDIAN,
- BO_LITTLE_ENDIAN
-} byteorder_t;
-
-typedef enum {
MODE_ALL,
MODE_IMAGE,
MODE_THUMB
@@ -352,7 +347,6 @@ void* emalloc(size_t);
void* erealloc(void*, size_t);
char* estrdup(const char*);
void error(int, int, const char*, ...);
-void size_readable(float*, const char**);
int r_opendir(r_dir_t*, const char*, bool);
int r_closedir(r_dir_t*);
char* r_readdir(r_dir_t*, bool);