- Make ROS buildable with GCC 4.1
[reactos.git] / reactos / lib / drivers / csq / csq.c
index 43c9740..7e702f1 100644 (file)
@@ -25,9 +25,8 @@
  */
 /* $Id$ */
 
-#define __NTDRIVER__
-#include <ntifs.h>
 #include <ntddk.h>
+#include <ntifs.h>
 
 \f
 static VOID NTAPI IopCsqCancelRoutine(PDEVICE_OBJECT DeviceObject,
@@ -254,7 +253,7 @@ NTSTATUS NTAPI IoCsqInsertIrpEx(PIO_CSQ Csq,
                                }
 
                        /* Step 2: Set our cancel routine */
-                       IoSetCancelRoutine(Irp, IopCsqCancelRoutine);
+                       (void)IoSetCancelRoutine(Irp, IopCsqCancelRoutine);
 
                        /* Step 3: Deal with an IRP that is already canceled */
                        if(!Irp->Cancel)