Fix build when compilation units are enabled for usetup.c
authorHervé Poussineau <hpoussin@reactos.org>
Fri, 1 Sep 2006 12:58:56 +0000 (12:58 +0000)
committerHervé Poussineau <hpoussin@reactos.org>
Fri, 1 Sep 2006 12:58:56 +0000 (12:58 +0000)
svn path=/trunk/; revision=23865

reactos/base/setup/usetup/filequeue.c
reactos/base/setup/usetup/filequeue.h
reactos/base/setup/usetup/usetup.c
reactos/base/setup/usetup/usetup.h

index 01a04b7..aac989a 100644 (file)
@@ -312,15 +312,6 @@ SetupQueueCopy(HSPFILEQ QueueHandle,
 }
 
 
-typedef struct _COPYCONTEXT
-{
-  LPCWSTR DestinationRootPath; /* Not owned by this structure */
-  LPCWSTR InstallPath; /* Not owned by this structure */
-  ULONG TotalOperations;
-  ULONG CompletedOperations;
-  PPROGRESSBAR ProgressBar;
-} COPYCONTEXT, *PCOPYCONTEXT;
-
 BOOL WINAPI
 SetupCommitFileQueueW(HWND Owner,
                     HSPFILEQ QueueHandle,
@@ -336,11 +327,8 @@ SetupCommitFileQueueW(HWND Owner,
   WCHAR FileSrcPath[MAX_PATH];
   WCHAR FileDstPath[MAX_PATH];
 
-  DPRINT1("Context %p\n", Context);
   TargetRootPath = ((PCOPYCONTEXT)Context)->DestinationRootPath;
-  DPRINT1("TargetRootPath %S\n", TargetRootPath);
   TargetPath = ((PCOPYCONTEXT)Context)->InstallPath;
-  DPRINT1("TargetPath %S\n", TargetPath);
 
   if (QueueHandle == NULL)
     return(FALSE);
index cdc41df..d8e1579 100644 (file)
@@ -58,6 +58,14 @@ typedef UINT (CALLBACK* PSP_FILE_CALLBACK_W)(PVOID Context,
                                   UINT_PTR Param1,
                                   UINT_PTR Param2);
 
+typedef struct _COPYCONTEXT
+{
+  LPCWSTR DestinationRootPath; /* Not owned by this structure */
+  LPCWSTR InstallPath; /* Not owned by this structure */
+  ULONG TotalOperations;
+  ULONG CompletedOperations;
+  PPROGRESSBAR ProgressBar;
+} COPYCONTEXT, *PCOPYCONTEXT;
 
 /* FUNCTIONS ****************************************************************/
 
index 6dddf98..681fb19 100644 (file)
@@ -69,16 +69,6 @@ typedef enum _PAGE_NUMBER
   REBOOT_PAGE,                 /* virtual page */
 } PAGE_NUMBER, *PPAGE_NUMBER;
 
-typedef struct _COPYCONTEXT
-{
-  LPCWSTR DestinationRootPath; /* Not owned by this structure */
-  LPCWSTR InstallPath; /* Not owned by this structure */
-  ULONG TotalOperations;
-  ULONG CompletedOperations;
-  PPROGRESSBAR ProgressBar;
-} COPYCONTEXT, *PCOPYCONTEXT;
-
-
 /* GLOBALS ******************************************************************/
 
 HANDLE ProcessHeap;
index 78380ae..b309bee 100644 (file)
@@ -59,8 +59,8 @@
 #include "partlist.h"
 #include "inffile.h"
 #include "inicache.h"
-#include "filequeue.h"
 #include "progress.h"
+#include "filequeue.h"
 #include "bootsup.h"
 #include "keytrans.h"
 #include "registry.h"