From 9afe489f2612d54d4ecf21cf426f908d7140992a Mon Sep 17 00:00:00 2001 From: rodri Date: Wed, 27 Dec 2023 12:58:20 +0000 Subject: got rid of unused procedures. --- fns.h | 2 -- util.c | 20 -------------------- 2 files changed, 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 @@ -44,26 +44,6 @@ swap(int *a, int *b) *b = t; } -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) { -- cgit v1.2.3