summaryrefslogtreecommitdiff
path: root/misc/netware/libprews.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/netware/libprews.c')
-rw-r--r--misc/netware/libprews.c65
1 files changed, 0 insertions, 65 deletions
diff --git a/misc/netware/libprews.c b/misc/netware/libprews.c
index 0818babbb..bf872c44e 100644
--- a/misc/netware/libprews.c
+++ b/misc/netware/libprews.c
@@ -144,71 +144,6 @@ int DisposeLibraryData(void *data)
return 0;
}
-int setGlobalPool(void *data, int proc)
-{
- APP_DATA *app_data = (APP_DATA*) get_app_data(gLibId);
-
- if ((proc < 0) || (proc > (MAX_PROCESSORS-1))) {
- return 0;
- }
-
- NXLock(gLibLock);
-
- if (app_data && !app_data->gPool[proc]) {
- app_data->gPool[proc] = data;
- }
-
- NXUnlock(gLibLock);
- return 1;
-}
-
-void* getGlobalPool(int proc)
-{
- APP_DATA *app_data = (APP_DATA*) get_app_data(gLibId);
-
- if ((proc < 0) || (proc > (MAX_PROCESSORS-1))) {
- return NULL;
- }
-
- if (app_data) {
- return app_data->gPool[proc];
- }
-
- return NULL;
-}
-
-int setStatCache(void *data, int proc)
-{
- APP_DATA *app_data = (APP_DATA*) get_app_data(gLibId);
-
- if ((proc < 0) || (proc > (MAX_PROCESSORS-1))) {
- return 0;
- }
-
- NXLock(gLibLock);
-
- if (app_data && !app_data->statCache[proc]) {
- app_data->statCache[proc] = data;
- }
-
- NXUnlock(gLibLock);
- return 1;
-}
-
-void* getStatCache(int proc)
-{
- APP_DATA *app_data = (APP_DATA*) get_app_data(gLibId);
-
- if ((proc < 0) || (proc > (MAX_PROCESSORS-1))) {
- return NULL;
- }
-
- if (app_data) {
- return app_data->statCache[proc];
- }
-
- return NULL;
-}