From e6a193806c618bd8ffc53efe8280548869631572 Mon Sep 17 00:00:00 2001 From: Robert Dickenson Date: Wed, 15 Jan 2003 20:05:53 +0000 Subject: [PATCH] Mainly standardisation of makefiles. Added some exports to core libs for wine dependancies. svn path=/trunk/; revision=4002 --- reactos/apps/tests/Makefile | 85 ++++++++ .../apps/tests/tests/GetSysMetrics/.cvsignore | 5 + .../apps/tests/tests/GetSystemInfo/.cvsignore | 3 + reactos/apps/tests/tests/Mutex/.cvsignore | 2 + .../apps/tests/tests/Parent_Child/.cvsignore | 3 + reactos/apps/tests/tests/guitest/.cvsignore | 3 + reactos/apps/tests/tests/hello/.cvsignore | 3 + reactos/apps/tests/tests/hello2/.cvsignore | 3 + reactos/apps/tests/tests/new/.cvsignore | 3 + reactos/apps/tests/tests/rolex/.cvsignore | 3 + reactos/apps/tests/tests/volinfo/.cvsignore | 3 + reactos/apps/testsets/Makefile | 188 ++++++++++++++++++ reactos/apps/testsets/loadlib/.cvsignore | 4 + reactos/apps/utils/Makefile | 82 ++++++++ reactos/include/defines.h | 7 +- reactos/include/msvcrt/ctype.h | 10 +- reactos/lib/advapi32/advapi32.edf | 4 +- reactos/lib/advapi32/makefile | 4 +- reactos/lib/advapi32/sec/misc.c | 7 + reactos/lib/kernel32/kernel32.def | 1 + reactos/lib/kernel32/kernel32.edf | 3 +- reactos/lib/kernel32/process/proc.c | 8 +- reactos/lib/msvcrt/ctype/tolower.c | 6 +- reactos/lib/packet/makefile | 4 +- 24 files changed, 428 insertions(+), 16 deletions(-) create mode 100644 reactos/apps/tests/Makefile create mode 100644 reactos/apps/tests/tests/GetSysMetrics/.cvsignore create mode 100644 reactos/apps/tests/tests/GetSystemInfo/.cvsignore create mode 100644 reactos/apps/tests/tests/Mutex/.cvsignore create mode 100644 reactos/apps/tests/tests/Parent_Child/.cvsignore create mode 100644 reactos/apps/tests/tests/guitest/.cvsignore create mode 100644 reactos/apps/tests/tests/hello/.cvsignore create mode 100644 reactos/apps/tests/tests/hello2/.cvsignore create mode 100644 reactos/apps/tests/tests/new/.cvsignore create mode 100644 reactos/apps/tests/tests/rolex/.cvsignore create mode 100644 reactos/apps/tests/tests/volinfo/.cvsignore create mode 100644 reactos/apps/testsets/Makefile create mode 100644 reactos/apps/utils/Makefile diff --git a/reactos/apps/tests/Makefile b/reactos/apps/tests/Makefile new file mode 100644 index 00000000000..ade28c9d738 --- /dev/null +++ b/reactos/apps/tests/Makefile @@ -0,0 +1,85 @@ +# +# ReactOS test applications makefile +# + +PATH_TO_TOP = ../.. + +include $(PATH_TO_TOP)/rules.mak + + +# Test applications +# alive apc args atomtest bench consume copymove count dump_shared_data +# event file gditest hello isotest lpc mstest mutex nptest +# pteb regtest sectest shm simple thread vmtest winhello +TEST_APPS = alive apc args atomtest bench consume copymove count dump_shared_data \ + event file gditest hello isotest lpc mstest mutex nptest \ + pteb regtest sectest shm simple thread tokentest vmtest winhello dibtest + +TEST_MISC = + +all: $(TEST_APPS) $(TEST_MISC) + +depends: + +implib: $(TEST_APPS:%=%_implib) \ + $(TEST_MISC:%=%_implib) + +clean: $(TEST_APPS:%=%_clean) \ + $(TEST_MISC:%=%_clean) + +install: $(TEST_APPS:%=%_install) \ + $(TEST_MISC:%=%_install) + +dist: $(TEST_APPS:%=%_dist) \ + $(TEST_MISC:%=%_dist) + +.PHONY: all depends implib clean install dist + + +# +# Test Applications +# +$(TEST_APPS): %: + make -C $* + +$(TEST_APPS:%=%_implib): %_implib: + make -C $* implib + +$(TEST_APPS:%=%_clean): %_clean: + make -C $* clean + +$(TEST_APPS:%=%_dist): %_dist: + make -C $* dist + +$(TEST_APPS:%=%_install): %_install: + make -C $* install + +.PHONY: $(TEST_APPS) $(TEST_APPS:%=%_implib) $(TEST_APPS:%=%_clean) $(TEST_APPS:%=%_install) $(TEST_APPS:%=%_dist) + + +# +# Misc Test Applications +# +$(TEST_MISC): %: + make -C tests/$* + +$(TEST_MISC:%=%_implib): %_implib: + make -C tests/$* implib + +$(TEST_MISC:%=%_clean): %_clean: + make -C tests/$* clean + +$(TEST_MISC:%=%_dist): %_dist: + make -C tests/$* dist + +$(TEST_MISC:%=%_install): %_install: + make -C tests/$* install + +.PHONY: $(TEST_MISC) $(TEST_MISC:%=%_implib) $(TEST_MISC:%=%_clean) $(TEST_MISC:%=%_install) $(TEST_MISC:%=%_dist) + + +etags: + find . -name "*.[ch]" -print | etags --language=c - + +# EOF + diff --git a/reactos/apps/tests/tests/GetSysMetrics/.cvsignore b/reactos/apps/tests/tests/GetSysMetrics/.cvsignore new file mode 100644 index 00000000000..6deb857bdbf --- /dev/null +++ b/reactos/apps/tests/tests/GetSysMetrics/.cvsignore @@ -0,0 +1,5 @@ +*.o +*.sym +*.exe +*.dsp +*.dsw diff --git a/reactos/apps/tests/tests/GetSystemInfo/.cvsignore b/reactos/apps/tests/tests/GetSystemInfo/.cvsignore new file mode 100644 index 00000000000..0ec02ac96f6 --- /dev/null +++ b/reactos/apps/tests/tests/GetSystemInfo/.cvsignore @@ -0,0 +1,3 @@ +*.exe +*.o +*.sym diff --git a/reactos/apps/tests/tests/Mutex/.cvsignore b/reactos/apps/tests/tests/Mutex/.cvsignore new file mode 100644 index 00000000000..4666b1afc62 --- /dev/null +++ b/reactos/apps/tests/tests/Mutex/.cvsignore @@ -0,0 +1,2 @@ +*.exe +*.sym diff --git a/reactos/apps/tests/tests/Parent_Child/.cvsignore b/reactos/apps/tests/tests/Parent_Child/.cvsignore new file mode 100644 index 00000000000..737e8b588ca --- /dev/null +++ b/reactos/apps/tests/tests/Parent_Child/.cvsignore @@ -0,0 +1,3 @@ +*.sym +*.exe +*.o diff --git a/reactos/apps/tests/tests/guitest/.cvsignore b/reactos/apps/tests/tests/guitest/.cvsignore new file mode 100644 index 00000000000..0ec02ac96f6 --- /dev/null +++ b/reactos/apps/tests/tests/guitest/.cvsignore @@ -0,0 +1,3 @@ +*.exe +*.o +*.sym diff --git a/reactos/apps/tests/tests/hello/.cvsignore b/reactos/apps/tests/tests/hello/.cvsignore new file mode 100644 index 00000000000..916ee153a0d --- /dev/null +++ b/reactos/apps/tests/tests/hello/.cvsignore @@ -0,0 +1,3 @@ +*.exe +*.sym +*.o diff --git a/reactos/apps/tests/tests/hello2/.cvsignore b/reactos/apps/tests/tests/hello2/.cvsignore new file mode 100644 index 00000000000..0ec02ac96f6 --- /dev/null +++ b/reactos/apps/tests/tests/hello2/.cvsignore @@ -0,0 +1,3 @@ +*.exe +*.o +*.sym diff --git a/reactos/apps/tests/tests/new/.cvsignore b/reactos/apps/tests/tests/new/.cvsignore new file mode 100644 index 00000000000..0ec02ac96f6 --- /dev/null +++ b/reactos/apps/tests/tests/new/.cvsignore @@ -0,0 +1,3 @@ +*.exe +*.o +*.sym diff --git a/reactos/apps/tests/tests/rolex/.cvsignore b/reactos/apps/tests/tests/rolex/.cvsignore new file mode 100644 index 00000000000..343a060d394 --- /dev/null +++ b/reactos/apps/tests/tests/rolex/.cvsignore @@ -0,0 +1,3 @@ +*.o +*.exe +*.sym diff --git a/reactos/apps/tests/tests/volinfo/.cvsignore b/reactos/apps/tests/tests/volinfo/.cvsignore new file mode 100644 index 00000000000..343a060d394 --- /dev/null +++ b/reactos/apps/tests/tests/volinfo/.cvsignore @@ -0,0 +1,3 @@ +*.o +*.exe +*.sym diff --git a/reactos/apps/testsets/Makefile b/reactos/apps/testsets/Makefile new file mode 100644 index 00000000000..38e573c66eb --- /dev/null +++ b/reactos/apps/testsets/Makefile @@ -0,0 +1,188 @@ +# +# ReactOS system testsets makefile +# + +PATH_TO_TOP = ../.. + +include $(PATH_TO_TOP)/rules.mak + + +# Testset applications +TEST_SETS = ldr loadlib + +TEST_KERNEL32 = + +TEST_MSVCRT = + +TEST_COM = + +TEST_SEH = + +TEST_REGRESSIONS = + +all: $(TEST_SETS) $(TEST_KERNEL32) $(TEST_MSVCRT) $(TEST_COM) $(TEST_SEH) $(TEST_REGRESSIONS) + +depends: + +implib: $(TEST_SETS:%=%_implib) \ + $(TEST_KERNEL32:%=%_implib) \ + $(TEST_MSVCRT:%=%_implib) \ + $(TEST_COM:%=%_implib) \ + $(TEST_SEH:%=%_implib) \ + $(TEST_REGRESSIONS:%=%_implib) + +clean: $(TEST_SETS:%=%_clean) \ + $(TEST_KERNEL32:%=%_clean) \ + $(TEST_MSVCRT:%=%_clean) \ + $(TEST_COM:%=%_clean) \ + $(TEST_SEH:%=%_clean) \ + $(TEST_REGRESSIONS:%=%_clean) + +install: $(TEST_SETS:%=%_install) \ + $(TEST_KERNEL32:%=%_install) \ + $(TEST_MSVCRT:%=%_install) \ + $(TEST_COM:%=%_install) \ + $(TEST_SEH:%=%_install) \ + $(TEST_REGRESSIONS:%=%_install) + +dist: $(TEST_SETS:%=%_dist) \ + $(TEST_KERNEL32:%=%_dist) \ + $(TEST_MSVCRT:%=%_dist) \ + $(TEST_COM:%=%_dist) \ + $(TEST_SEH:%=%_dist) \ + $(TEST_REGRESSIONS:%=%_dist) + +.PHONY: all depends implib clean install dist + + +# +# Testset Applications +# +$(TEST_SETS): %: + make -C $* + +$(TEST_SETS:%=%_implib): %_implib: + make -C $* implib + +$(TEST_SETS:%=%_clean): %_clean: + make -C $* clean + +$(TEST_SETS:%=%_dist): %_dist: + make -C $* dist + +$(TEST_SETS:%=%_install): %_install: + make -C $* install + +.PHONY: $(TEST_SETS) $(TEST_SETS:%=%_implib) $(TEST_SETS:%=%_clean) $(TEST_SETS:%=%_install) $(TEST_SETS:%=%_dist) + + +# +# Kernel32 Test Applications +# +$(TEST_KERNEL32): %: + make -C kernel32/$* + +$(TEST_KERNEL32:%=%_implib): %_implib: + make -C kernel32/$* implib + +$(TEST_KERNEL32:%=%_clean): %_clean: + make -C kernel32/$* clean + +$(TEST_KERNEL32:%=%_dist): %_dist: + make -C kernel32/$* dist + +$(TEST_KERNEL32:%=%_install): %_install: + make -C kernel32/$* install + +.PHONY: $(TEST_KERNEL32) $(TEST_KERNEL32:%=%_implib) $(TEST_KERNEL32:%=%_clean) $(TEST_KERNEL32:%=%_install) $(TEST_KERNEL32:%=%_dist) + + +# +# msvcrt Test Applications +# +$(TEST_MSVCRT): %: + make -C msvcrt/$* + +$(TEST_MSVCRT:%=%_implib): %_implib: + make -C msvcrt/$* implib + +$(TEST_MSVCRT:%=%_clean): %_clean: + make -C msvcrt/$* clean + +$(TEST_MSVCRT:%=%_dist): %_dist: + make -C msvcrt/$* dist + +$(TEST_MSVCRT:%=%_install): %_install: + make -C msvcrt/$* install + +.PHONY: $(TEST_MSVCRT) $(TEST_MSVCRT:%=%_implib) $(TEST_MSVCRT:%=%_clean) $(TEST_MSVCRT:%=%_install) $(TEST_MSVCRT:%=%_dist) + + +# +# COM Test Applications +# +$(TEST_COM): %: + make -C com/$* + +$(TEST_COM:%=%_implib): %_implib: + make -C com/$* implib + +$(TEST_COM:%=%_clean): %_clean: + make -C com/$* clean + +$(TEST_COM:%=%_dist): %_dist: + make -C com/$* dist + +$(TEST_COM:%=%_install): %_install: + make -C com/$* install + +.PHONY: $(TEST_COM) $(TEST_COM:%=%_implib) $(TEST_COM:%=%_clean) $(TEST_COM:%=%_install) $(TEST_COM:%=%_dist) + + +# +# SEH Test Applications +# +$(TEST_SEH): %: + make -C seh/$* + +$(TEST_SEH:%=%_implib): %_implib: + make -C seh/$* implib + +$(TEST_SEH:%=%_clean): %_clean: + make -C seh/$* clean + +$(TEST_SEH:%=%_dist): %_dist: + make -C seh/$* dist + +$(TEST_SEH:%=%_install): %_install: + make -C seh/$* install + +.PHONY: $(TEST_SEH) $(TEST_SEH:%=%_implib) $(TEST_SEH:%=%_clean) $(TEST_SEH:%=%_install) $(TEST_SEH:%=%_dist) + + +# +# Regression Test Applications +# +$(TEST_REGRESSIONS): %: + make -C regres/$* + +$(TEST_REGRESSIONS:%=%_implib): %_implib: + make -C regres/$* implib + +$(TEST_REGRESSIONS:%=%_clean): %_clean: + make -C regres/$* clean + +$(TEST_REGRESSIONS:%=%_dist): %_dist: + make -C regres/$* dist + +$(TEST_REGRESSIONS:%=%_install): %_install: + make -C regres/$* install + +.PHONY: $(TEST_REGRESSIONS) $(TEST_REGRESSIONS:%=%_implib) $(TEST_REGRESSIONS:%=%_clean) $(TEST_REGRESSIONS:%=%_install) $(TEST_REGRESSIONS:%=%_dist) + + +etags: + find . -name "*.[ch]" -print | etags --language=c - + +# EOF + diff --git a/reactos/apps/testsets/loadlib/.cvsignore b/reactos/apps/testsets/loadlib/.cvsignore index 7e878167e8e..bd2c3a85b5f 100644 --- a/reactos/apps/testsets/loadlib/.cvsignore +++ b/reactos/apps/testsets/loadlib/.cvsignore @@ -3,3 +3,7 @@ *.exe *.coff *.sym +*.dsp +*.dsw +*.ncb +*.opt diff --git a/reactos/apps/utils/Makefile b/reactos/apps/utils/Makefile new file mode 100644 index 00000000000..2cd73483c21 --- /dev/null +++ b/reactos/apps/utils/Makefile @@ -0,0 +1,82 @@ +# +# ReactOS system utilities makefile +# + +PATH_TO_TOP = ../.. + +include $(PATH_TO_TOP)/rules.mak + + +# Console system utilities +# cabman cat net objdir partinfo pice ps sc stats +UTIL_APPS = cat objdir partinfo sc stats + +UTIL_NET_APPS = + + +all: $(UTIL_APPS) $(UTIL_NET_APPS) + +depends: + +implib: $(UTIL_APPS:%=%_implib) \ + $(UTIL_NET_APPS:%=%_implib) + +clean: $(UTIL_APPS:%=%_clean) \ + $(UTIL_NET_APPS:%=%_clean) + +install: $(UTIL_APPS:%=%_install) \ + $(UTIL_NET_APPS:%=%_install) + +dist: $(UTIL_APPS:%=%_dist) \ + $(UTIL_NET_APPS:%=%_dist) + +.PHONY: all depends implib clean install dist + + +# +# Utility Applications +# +$(UTIL_APPS): %: + make -C $* + +$(UTIL_APPS:%=%_implib): %_implib: + make -C $* implib + +$(UTIL_APPS:%=%_clean): %_clean: + make -C $* clean + +$(UTIL_APPS:%=%_dist): %_dist: + make -C $* dist + +$(UTIL_APPS:%=%_install): %_install: + make -C $* install + +.PHONY: $(UTIL_APPS) $(UTIL_APPS:%=%_implib) $(UTIL_APPS:%=%_clean) $(UTIL_APPS:%=%_install) $(UTIL_APPS:%=%_dist) + + +# +# GUI Utility Applications +# +$(UTIL_NET_APPS): %: + make -C net/$* + +$(UTIL_NET_APPS:%=%_implib): %_implib: + make -C net/$* implib + +$(UTIL_NET_APPS:%=%_clean): %_clean: + make -C net/$* clean + +$(UTIL_NET_APPS:%=%_dist): %_dist: + make -C net/$* dist + +$(UTIL_NET_APPS:%=%_install): %_install: + make -C net/$* install + +.PHONY: $(UTIL_NET_APPS) $(UTIL_NET_APPS:%=%_implib) $(UTIL_NET_APPS:%=%_clean) $(UTIL_NET_APPS:%=%_install) $(UTIL_NET_APPS:%=%_dist) + + +etags: + find . -name "*.[ch]" -print | etags --language=c - + +# EOF + diff --git a/reactos/include/defines.h b/reactos/include/defines.h index 01f1ca5215f..cab5cc3683b 100644 --- a/reactos/include/defines.h +++ b/reactos/include/defines.h @@ -3572,6 +3572,7 @@ extern "C" { #define LVS_SMALLICON (2) #define LVS_SORTASCENDING (16) #define LVS_SORTDESCENDING (32) +#define LVS_OWNERDATA 0x1000 #define LVS_TYPESTYLEMASK (64512) #define LVSIL_NORMAL (0) #define LVSIL_SMALL (1) @@ -4737,7 +4738,8 @@ DECLARE_HANDLE(HANDLE); #endif -#ifndef __USE_W32API +#ifndef __USE_W32API + typedef enum _SC_STATUS_TYPE { SC_STATUS_PROCESS_INFO = 0 @@ -4747,7 +4749,8 @@ typedef enum _SC_ENUM_TYPE { SC_ENUM_PROCESS_INFO = 0 } SC_ENUM_TYPE; -#endif /* !__USE_W32API */ +#endif /* !__USE_W32API */ + #ifdef __cplusplus } diff --git a/reactos/include/msvcrt/ctype.h b/reactos/include/msvcrt/ctype.h index f4db364f849..30f86949be1 100644 --- a/reactos/include/msvcrt/ctype.h +++ b/reactos/include/msvcrt/ctype.h @@ -18,9 +18,9 @@ * DISCLAIMED. This includes but is not limited to warranties of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * $Author: robd $ - * $Date: 2002/11/24 18:06:00 $ + * $Date: 2003/01/15 20:05:50 $ * */ @@ -119,8 +119,10 @@ int iswspace(wint_t); int iswupper(wint_t); int iswxdigit(wint_t); -wchar_t towlower(wchar_t); -wchar_t towupper(wchar_t); +//wchar_t towlower(wchar_t); +//wchar_t towupper(wchar_t); +int towlower(wint_t); +int towupper(wint_t); int isleadbyte(int); diff --git a/reactos/lib/advapi32/advapi32.edf b/reactos/lib/advapi32/advapi32.edf index 408cc694191..d8b2d487ca9 100644 --- a/reactos/lib/advapi32/advapi32.edf +++ b/reactos/lib/advapi32/advapi32.edf @@ -1,4 +1,4 @@ -; $Id: advapi32.edf,v 1.17 2003/01/07 17:32:58 robd Exp $ +; $Id: advapi32.edf,v 1.18 2003/01/15 20:05:50 robd Exp $ ; ; advapi32.edf ; @@ -174,7 +174,7 @@ GetUserNameW=GetUserNameW@8 ;I_ScGetCurrentGroupStateW=I_ScGetCurrentGroupStateW@12 ;I_ScSetServiceBitsA=I_ScSetServiceBitsA@20 ;I_ScSetServiceBitsW=I_ScSetServiceBitsW@20 -;ImpersonateLoggedOnUser=ImpersonateLoggedOnUser@4 +ImpersonateLoggedOnUser=ImpersonateLoggedOnUser@4 ;ImpersonateNamedPipeClient=ImpersonateNamedPipeClient@4 ImpersonateSelf=ImpersonateSelf@4 InitializeAcl=InitializeAcl@12 diff --git a/reactos/lib/advapi32/makefile b/reactos/lib/advapi32/makefile index 32b78241f61..d57042c3330 100644 --- a/reactos/lib/advapi32/makefile +++ b/reactos/lib/advapi32/makefile @@ -1,4 +1,4 @@ -# $Id: makefile,v 1.23 2002/09/08 10:22:35 chorns Exp $ +# $Id: makefile,v 1.24 2003/01/15 20:05:50 robd Exp $ PATH_TO_TOP = ../.. @@ -10,7 +10,7 @@ TARGET_SDKLIBS = ntdll.a kernel32.a # TARGET_CFLAGS = -DUNICODE -TARGET_BASE = 0x77dc0000 +TARGET_BASE = 0x77DB0000 MISC_OBJECTS=\ misc/dllmain.o \ diff --git a/reactos/lib/advapi32/sec/misc.c b/reactos/lib/advapi32/sec/misc.c index 8329810e6a1..e0e52c5f328 100644 --- a/reactos/lib/advapi32/sec/misc.c +++ b/reactos/lib/advapi32/sec/misc.c @@ -75,6 +75,13 @@ MapGenericMask(PDWORD AccessMask, } +WINBOOL +STDCALL +ImpersonateLoggedOnUser(HANDLE hToken) +{ + return FALSE; +} + BOOL STDCALL ImpersonateSelf(SECURITY_IMPERSONATION_LEVEL ImpersonationLevel) { diff --git a/reactos/lib/kernel32/kernel32.def b/reactos/lib/kernel32/kernel32.def index c1499dd2c23..eaa0e939801 100644 --- a/reactos/lib/kernel32/kernel32.def +++ b/reactos/lib/kernel32/kernel32.def @@ -586,6 +586,7 @@ SetLocaleInfoW@12 SetMailslotInfo@8 SetNamedPipeHandleState@16 SetPriorityClass@8 +SetProcessAffinityMask@8 SetProcessShutdownParameters@8 SetProcessWorkingSetSize@12 SetStdHandle@8 diff --git a/reactos/lib/kernel32/kernel32.edf b/reactos/lib/kernel32/kernel32.edf index faa3619ff2d..c0237f36f87 100644 --- a/reactos/lib/kernel32/kernel32.edf +++ b/reactos/lib/kernel32/kernel32.edf @@ -1,4 +1,4 @@ -; $Id: kernel32.edf,v 1.20 2003/01/07 17:29:09 robd Exp $ +; $Id: kernel32.edf,v 1.21 2003/01/15 20:05:51 robd Exp $ ; ; kernel32.edf ; @@ -591,6 +591,7 @@ SetLocaleInfoW=SetLocaleInfoW@12 SetMailslotInfo=SetMailslotInfo@8 SetNamedPipeHandleState=SetNamedPipeHandleState@16 SetPriorityClass=SetPriorityClass@8 +SetProcessAffinityMask=SetProcessAffinityMask@8 SetProcessShutdownParameters=SetProcessShutdownParameters@8 SetProcessWorkingSetSize=SetProcessWorkingSetSize@12 SetStdHandle=SetStdHandle@8 diff --git a/reactos/lib/kernel32/process/proc.c b/reactos/lib/kernel32/process/proc.c index a2ed9ee587d..f33020359b0 100644 --- a/reactos/lib/kernel32/process/proc.c +++ b/reactos/lib/kernel32/process/proc.c @@ -1,4 +1,4 @@ -/* $Id: proc.c,v 1.48 2002/10/20 16:39:06 ekohl Exp $ +/* $Id: proc.c,v 1.49 2003/01/15 20:05:52 robd Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries @@ -702,5 +702,11 @@ GetProcessVersion (DWORD ProcessId) } +BOOL STDCALL +SetProcessAffinityMask(HANDLE hProcess, DWORD dwProcessAffinityMask) +{ + return FALSE; +} + /* EOF */ diff --git a/reactos/lib/msvcrt/ctype/tolower.c b/reactos/lib/msvcrt/ctype/tolower.c index e2c188c0dcb..0fbcc672151 100644 --- a/reactos/lib/msvcrt/ctype/tolower.c +++ b/reactos/lib/msvcrt/ctype/tolower.c @@ -10,7 +10,8 @@ int tolower(int c) } #undef towlower -wchar_t towlower(wchar_t c) +int towlower(wint_t c) +//wchar_t towlower(wchar_t c) { if (iswctype (c, _UPPER)) return (c - (L'A' - L'a')); @@ -25,6 +26,9 @@ int _tolower(int c) } /* +int towlower(wint_t); +int towupper(wint_t); + wchar_t _towlower(wchar_t c) { if (iswctype (c, _UPPER)) diff --git a/reactos/lib/packet/makefile b/reactos/lib/packet/makefile index 2717e16254a..63357d1d2cc 100644 --- a/reactos/lib/packet/makefile +++ b/reactos/lib/packet/makefile @@ -1,4 +1,4 @@ -# $Id: makefile,v 1.3 2002/09/24 15:08:14 robd Exp $ +# $Id: makefile,v 1.4 2003/01/15 20:05:52 robd Exp $ PATH_TO_TOP = ../.. @@ -16,8 +16,6 @@ TARGET_OBJECTS = \ Packet32.o \ trace.o -TARGET_CLEAN = $(TARGET_OBJECTS) - include $(PATH_TO_TOP)/rules.mak include $(TOOLS_PATH)/helper.mk