update for HEAD-2003021201
[reactos.git] / lib / crtdll / stdlib / senv.c
index 66bf91e..b87dcb6 100644 (file)
@@ -1,14 +1,20 @@
-#include <crtdll/stdlib.h>
 #include <windows.h>
-#include <crtdll/string.h>
+#include <msvcrt/stdlib.h>
+#include <msvcrt/string.h>
+
+#define NDEBUG
+#include <msvcrt/msvcrtdbg.h>
+
 
 void _searchenv(const char *file,const char *var,char *path )
 {
        char *env = getenv(var);
-
        char *x;
        char *y;
        char *FilePart;
+
+       DPRINT("_searchenv()\n");
+
        x = strchr(env,'=');
        if ( x != NULL ) {
                *x = 0;
@@ -24,5 +30,4 @@ void _searchenv(const char *file,const char *var,char *path )
                y = strchr(env,';');
        }
        return;
-       
 }