summaryrefslogtreecommitdiff
path: root/glcddrivers
diff options
context:
space:
mode:
Diffstat (limited to 'glcddrivers')
-rw-r--r--glcddrivers/common.c11
-rw-r--r--glcddrivers/common.h1
2 files changed, 0 insertions, 12 deletions
diff --git a/glcddrivers/common.c b/glcddrivers/common.c
index 40a3048..540bbdb 100644
--- a/glcddrivers/common.c
+++ b/glcddrivers/common.c
@@ -197,17 +197,6 @@ void clip(int & value, int min, int max)
value = max;
}
-void sort(int & value1, int & value2)
-{
- if (value2 < value1)
- {
- int tmp;
- tmp = value2;
- value2 = value1;
- value1 = tmp;
- }
-}
-
std::string trim(const std::string & s)
{
std::string::size_type start, end;
diff --git a/glcddrivers/common.h b/glcddrivers/common.h
index d1ddcda..feb190b 100644
--- a/glcddrivers/common.h
+++ b/glcddrivers/common.h
@@ -34,7 +34,6 @@ void uSleep(long us);
unsigned char ReverseBits(unsigned char value);
void clip(int & value, int min, int max);
-void sort(int & value1, int & value2);
std::string trim(const std::string & s);
} // end of namespace