summaryrefslogtreecommitdiffstats
path: root/tksao/util
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2020-03-19 15:44:06 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2020-03-19 15:44:06 (GMT)
commita6a08197aaf669eefcae6d183ea91fc58f5387cf (patch)
tree8efddb67a0f0b55d20d6b380bc1ddf6a783ed79f /tksao/util
parentd32f7bea985401e3cffea5b2327ea237df23010d (diff)
downloadblt-a6a08197aaf669eefcae6d183ea91fc58f5387cf.zip
blt-a6a08197aaf669eefcae6d183ea91fc58f5387cf.tar.gz
blt-a6a08197aaf669eefcae6d183ea91fc58f5387cf.tar.bz2
clean up code
Diffstat (limited to 'tksao/util')
-rw-r--r--tksao/util/util.C24
-rw-r--r--tksao/util/util.h3
2 files changed, 0 insertions, 27 deletions
diff --git a/tksao/util/util.C b/tksao/util/util.C
index 72ce4b8..ccb0511 100644
--- a/tksao/util/util.C
+++ b/tksao/util/util.C
@@ -424,30 +424,6 @@ const char* psFontName(const char* font, const char* weight, const char* slant)
return psFonts[ptr];
}
-int fCompare(const void* a, const void* b)
-{
- float* aa = (float*)a;
- float* bb = (float*)b;
-
- if (*aa < *bb)
- return -1;
- if (*aa > *bb)
- return 1;
- return 0;
-}
-
-int dCompare(const void* a, const void* b)
-{
- double* aa = (double*)a;
- double* bb = (double*)b;
-
- if (*aa < *bb)
- return -1;
- if (*aa > *bb)
- return 1;
- return 0;
-}
-
#if defined (MAC_OSX_TK) || (_WIN32)
#include <tkInt.h>
diff --git a/tksao/util/util.h b/tksao/util/util.h
index 185ab55..69f7127 100644
--- a/tksao/util/util.h
+++ b/tksao/util/util.h
@@ -19,7 +19,6 @@ using namespace std;
#include <X11/Xlib.h>
#include <X11/Xutil.h>
-#include "fuzzy.h"
#include "vector.h"
#ifndef PATH_MAX
@@ -117,6 +116,4 @@ extern const char* psFontName(const char*);
extern int psFontSize(const char*);
extern const char* psFontName(const char*, const char*, const char*);
-extern int fCompare(const void*, const void*);
-extern int dCompare(const void*, const void*);
#endif