summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fns.h2
-rw-r--r--util.c20
2 files changed, 0 insertions, 22 deletions
diff --git a/fns.h b/fns.h
index 6547c6c..477131a 100644
--- a/fns.h
+++ b/fns.h
@@ -25,8 +25,6 @@ int max(int, int);
double fmin(double, double);
double fmax(double, double);
void swap(int*, int*);
-void swappt2(Point2*, Point2*);
-void swappt3(Point3*, Point3*);
void memsetd(double*, double, usize);
Memimage *readtga(char*);
Memimage *rgb(ulong);
diff --git a/util.c b/util.c
index 89d47ad..b523cf8 100644
--- a/util.c
+++ b/util.c
@@ -45,26 +45,6 @@ swap(int *a, int *b)
}
void
-swappt2(Point2 *a, Point2 *b)
-{
- Point2 t;
-
- t = *a;
- *a = *b;
- *b = t;
-}
-
-void
-swappt3(Point3 *a, Point3 *b)
-{
- Point3 t;
-
- t = *a;
- *a = *b;
- *b = t;
-}
-
-void
memsetd(double *p, double v, usize len)
{
double *dp;