From 96ae173fead7d3329b064cbab756f82006b63cf1 Mon Sep 17 00:00:00 2001 From: Dmitry Gorbachev Date: Mon, 15 Mar 2010 22:54:09 +0000 Subject: [PATCH] Link buslogic.sys against libcntpr. This should fix "undefined reference" errors reported on the forum. svn path=/trunk/; revision=46217 --- .../storage/port/buslogic/BusLogic958.c | 34 ------------------- .../storage/port/buslogic/buslogic.rbuild | 2 +- 2 files changed, 1 insertion(+), 35 deletions(-) diff --git a/reactos/drivers/storage/port/buslogic/BusLogic958.c b/reactos/drivers/storage/port/buslogic/BusLogic958.c index 22c5838b99b..0bf439e06b9 100644 --- a/reactos/drivers/storage/port/buslogic/BusLogic958.c +++ b/reactos/drivers/storage/port/buslogic/BusLogic958.c @@ -79,40 +79,6 @@ v1.2.0.2 // Fix PR 40284 correctly, disable interrupts in the initialization ro #include "BusLogic958.h" -int strcmp(const char* s1, const char* s2) -{ - while(*s1 == *s2) - { - if(*s1 == 0) return 0; - - s1 ++; - s2 ++; - } - - return *s1 - *s2; -} - -char * strcat(char * s, const char * append) -{ - char * save = s; - - for(; *s; ++s); - - while((*s++ = *append++)); - - return save; -} - -char * strcpy(char * to, const char * from) -{ - char *save = to; - - for (; (*to = *from); ++from, ++to); - - return save; -} - - ULONG NTAPI DriverEntry(IN PVOID DriverObject, diff --git a/reactos/drivers/storage/port/buslogic/buslogic.rbuild b/reactos/drivers/storage/port/buslogic/buslogic.rbuild index 3a197ce05de..3347f10b98d 100644 --- a/reactos/drivers/storage/port/buslogic/buslogic.rbuild +++ b/reactos/drivers/storage/port/buslogic/buslogic.rbuild @@ -1,6 +1,6 @@ - + . scsiport