[DISPLAYS]
authorThomas Faber <thomas.faber@reactos.org>
Sun, 6 Sep 2015 08:35:01 +0000 (08:35 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sun, 6 Sep 2015 08:35:01 +0000 (08:35 +0000)
- DrvEnableDriver does not need to be exported. Fixes MSVC warnings (LNK4216: Exported entry point _DrvEnableDriver@12)

svn path=/trunk/; revision=69049

reactos/win32ss/drivers/displays/framebuf/CMakeLists.txt
reactos/win32ss/drivers/displays/framebuf/framebuf.spec [deleted file]
reactos/win32ss/drivers/displays/framebuf_new/CMakeLists.txt
reactos/win32ss/drivers/displays/framebuf_new/framebuf_new.spec [deleted file]
reactos/win32ss/drivers/displays/framebufacc/framebufacc.spec [deleted file]
reactos/win32ss/drivers/displays/vga/CMakeLists.txt
reactos/win32ss/drivers/displays/vga/vgaddi.spec [deleted file]
reactos/win32ss/drivers/displays/vga_new/vga_new.spec [deleted file]

index ee0ef2e..57eeae1 100644 (file)
@@ -1,6 +1,4 @@
 
-spec2def(framebuf.dll framebuf.spec)
-
 list(APPEND SOURCE
     enable.c
     palette.c
@@ -11,8 +9,7 @@ list(APPEND SOURCE
 
 add_library(framebuf SHARED
     ${SOURCE}
-    framebuf.rc
-    ${CMAKE_CURRENT_BINARY_DIR}/framebuf.def)
+    framebuf.rc)
 
 set_module_type(framebuf kerneldll ENTRYPOINT DrvEnableDriver 12)
 add_pch(framebuf framebuf.h SOURCE)
diff --git a/reactos/win32ss/drivers/displays/framebuf/framebuf.spec b/reactos/win32ss/drivers/displays/framebuf/framebuf.spec
deleted file mode 100644 (file)
index aec115e..0000000
+++ /dev/null
@@ -1 +0,0 @@
-@ stdcall DrvEnableDriver(long long ptr)
index b3f4df0..e0cbdfa 100644 (file)
@@ -1,6 +1,4 @@
 
-spec2def(framebuf_new.dll framebuf_new.spec)
-
 list(APPEND SOURCE
     debug.c
     enable.c
@@ -11,8 +9,7 @@ list(APPEND SOURCE
 
 add_library(framebuf_new SHARED
     ${SOURCE}
-    framebuf_new.rc
-    ${CMAKE_CURRENT_BINARY_DIR}/framebuf_new.def)
+    framebuf_new.rc)
 
 set_module_type(framebuf_new kerneldll ENTRYPOINT DrvEnableDriver 12)
 target_link_libraries(framebuf_new libcntpr)
diff --git a/reactos/win32ss/drivers/displays/framebuf_new/framebuf_new.spec b/reactos/win32ss/drivers/displays/framebuf_new/framebuf_new.spec
deleted file mode 100644 (file)
index aec115e..0000000
+++ /dev/null
@@ -1 +0,0 @@
-@ stdcall DrvEnableDriver(long long ptr)
diff --git a/reactos/win32ss/drivers/displays/framebufacc/framebufacc.spec b/reactos/win32ss/drivers/displays/framebufacc/framebufacc.spec
deleted file mode 100644 (file)
index aec115e..0000000
+++ /dev/null
@@ -1 +0,0 @@
-@ stdcall DrvEnableDriver(long long ptr)
index 3ebd44f..9e2c798 100644 (file)
@@ -1,6 +1,4 @@
 
-spec2def(vgaddi.dll vgaddi.spec)
-
 list(APPEND SOURCE
     main/enable.c
     objects/screen.c
@@ -16,8 +14,7 @@ list(APPEND SOURCE
 
 add_library(vgaddi SHARED
     ${SOURCE}
-    vgaddi.rc
-    ${CMAKE_CURRENT_BINARY_DIR}/vgaddi.def)
+    vgaddi.rc)
 
 set_module_type(vgaddi kerneldll ENTRYPOINT DrvEnableDriver 12)
 add_pch(vgaddi vgaddi.h SOURCE)
diff --git a/reactos/win32ss/drivers/displays/vga/vgaddi.spec b/reactos/win32ss/drivers/displays/vga/vgaddi.spec
deleted file mode 100644 (file)
index aec115e..0000000
+++ /dev/null
@@ -1 +0,0 @@
-@ stdcall DrvEnableDriver(long long ptr)
diff --git a/reactos/win32ss/drivers/displays/vga_new/vga_new.spec b/reactos/win32ss/drivers/displays/vga_new/vga_new.spec
deleted file mode 100644 (file)
index aec115e..0000000
+++ /dev/null
@@ -1 +0,0 @@
-@ stdcall DrvEnableDriver(long long ptr)