mirror of
https://github.com/reactos/reactos.git
synced 2025-06-20 07:36:05 +00:00
Link buslogic.sys against libcntpr. This should fix "undefined reference" errors reported on the forum.
svn path=/trunk/; revision=46217
This commit is contained in:
parent
f64f8479d9
commit
96ae173fea
2 changed files with 1 additions and 35 deletions
|
@ -79,40 +79,6 @@ v1.2.0.2 // Fix PR 40284 correctly, disable interrupts in the initialization ro
|
||||||
|
|
||||||
#include "BusLogic958.h"
|
#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
|
ULONG
|
||||||
NTAPI
|
NTAPI
|
||||||
DriverEntry(IN PVOID DriverObject,
|
DriverEntry(IN PVOID DriverObject,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<!DOCTYPE module SYSTEM "../../../../tools/rbuild/project.dtd">
|
<!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)" />
|
<bootstrap installbase="$(CDOUTPUT)" />
|
||||||
<include base="buslogic">.</include>
|
<include base="buslogic">.</include>
|
||||||
<library>scsiport</library>
|
<library>scsiport</library>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue