Author: dgorbachev
Date: Mon Mar 15 23:54:09 2010
New Revision: 46217
URL:
http://svn.reactos.org/svn/reactos?rev=46217&view=rev
Log:
Link buslogic.sys against libcntpr. This should fix "undefined reference" errors
reported on the forum.
Modified:
trunk/reactos/drivers/storage/port/buslogic/BusLogic958.c
trunk/reactos/drivers/storage/port/buslogic/buslogic.rbuild
Modified: trunk/reactos/drivers/storage/port/buslogic/BusLogic958.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/port/buslo…
==============================================================================
--- trunk/reactos/drivers/storage/port/buslogic/BusLogic958.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/port/buslogic/BusLogic958.c [iso-8859-1] Mon Mar 15
23:54:09 2010
@@ -79,40 +79,6 @@
#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,
Modified: trunk/reactos/drivers/storage/port/buslogic/buslogic.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/port/buslo…
==============================================================================
--- trunk/reactos/drivers/storage/port/buslogic/buslogic.rbuild [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/port/buslogic/buslogic.rbuild [iso-8859-1] Mon Mar 15
23:54:09 2010
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../../../tools/rbuild/project.dtd">
-<module name="buslogic" type="kernelmodedriver"
installbase="system32/drivers" installname="buslogic.sys">
+<module name="buslogic" type="kernelmodedriver"
installbase="system32/drivers" installname="buslogic.sys"
crt="libcntpr">
<bootstrap installbase="$(CDOUTPUT)" />
<include base="buslogic">.</include>
<library>scsiport</library>