git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git://localhost/acess2
[tpg/acess2.git]
/
Usermode
/
Libraries
/
ld-acess.so_src
/
loadlib.c
diff --git
a/Usermode/Libraries/ld-acess.so_src/loadlib.c
b/Usermode/Libraries/ld-acess.so_src/loadlib.c
index
f59caf2
..
dcacd8a
100644
(file)
--- a/
Usermode/Libraries/ld-acess.so_src/loadlib.c
+++ b/
Usermode/Libraries/ld-acess.so_src/loadlib.c
@@
-4,6
+4,7
@@
*/
#include "common.h"
#include <stdint.h>
*/
#include "common.h"
#include <stdint.h>
+#include <acess/sys.h>
#define DEBUG 0
#define DEBUG 0
@@
-77,7
+78,7
@@
void *LoadLibrary(const char *SoName, const char *SearchDir, char **envp)
DEBUGS(" LoadLibrary: SysLoadBin()");
// Load Library
DEBUGS(" LoadLibrary: SysLoadBin()");
// Load Library
- base = SysLoadBin(filename, (void**)&fEntry);
+ base =
_
SysLoadBin(filename, (void**)&fEntry);
if(!base) {
DEBUGS("LoadLibrary: RETURN 0");
return 0;
if(!base) {
DEBUGS("LoadLibrary: RETURN 0");
return 0;
@@
-172,7
+173,7
@@
void Unload(void *Base)
if(id == MAX_LOADED_LIBRARIES) return;
// Unload Binary
if(id == MAX_LOADED_LIBRARIES) return;
// Unload Binary
- SysUnloadBin( Base );
+
_
SysUnloadBin( Base );
// Save String Pointer
str = gLoadedLibraries[id].Name;
// Save String Pointer
str = gLoadedLibraries[id].Name;
UCC
git Repository :: git.ucc.asn.au