From d1754b7457fa858c394df52f8d7274e64d9a4090 Mon Sep 17 00:00:00 2001 From: izydorst Date: Sun, 10 Nov 2002 15:35:10 +0000 Subject: [PATCH] Removed GEOS rand.s implementation in favor of random number generator from common library. git-svn-id: svn://svn.cc65.org/cc65/trunk@1498 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/geos/common/Makefile | 2 +- libsrc/geos/common/rand.s | 20 -------------------- 2 files changed, 1 insertion(+), 21 deletions(-) delete mode 100644 libsrc/geos/common/rand.s diff --git a/libsrc/geos/common/Makefile b/libsrc/geos/common/Makefile index a7f9d5ddd..45eab4c4e 100644 --- a/libsrc/geos/common/Makefile +++ b/libsrc/geos/common/Makefile @@ -11,7 +11,7 @@ @$(AS) -o $@ $(AFLAGS) $< C_OBJS = _afailed.o abort.o perror.o -S_OBJS = copydata.o memcpy.o memset.o rand.o +S_OBJS = copydata.o memcpy.o memset.o all: $(C_OBJS) $(S_OBJS) diff --git a/libsrc/geos/common/rand.s b/libsrc/geos/common/rand.s deleted file mode 100644 index ad2db1823..000000000 --- a/libsrc/geos/common/rand.s +++ /dev/null @@ -1,20 +0,0 @@ -; -; Maciej 'YTM/Elysium' Witkowiak, 15.07.2001 -; -; -; int rand (void); -; void srand (unsigned seed); -; - .export _rand, _srand - .include "../inc/jumptab.inc" - -.code - -_rand: - jsr GetRandom - pha - jsr GetRandom - tax - pla -_srand: - rts