From 9ed8ecba43c402aa32c84df5d3a817223898c3cc Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 26 Sep 2015 00:36:14 -0400 Subject: normalize the name of the library's entry point. --- project/common.mk | 2 +- src/dalist_entry_point.c | 12 ++++++++++++ src/dalist_lib_entry_point.c | 12 ------------ 3 files changed, 13 insertions(+), 13 deletions(-) create mode 100644 src/dalist_entry_point.c delete mode 100644 src/dalist_lib_entry_point.c diff --git a/project/common.mk b/project/common.mk index 014d45f..5fb8e41 100644 --- a/project/common.mk +++ b/project/common.mk @@ -1,6 +1,6 @@ COMMON_SRCS = \ src/dalist.c \ src/dalist_debug.c \ - src/dalist_lib_entry_point.c \ + src/dalist_entry_point.c \ src/dalist_memfn.c \ diff --git a/src/dalist_entry_point.c b/src/dalist_entry_point.c new file mode 100644 index 0000000..463f2b4 --- /dev/null +++ b/src/dalist_entry_point.c @@ -0,0 +1,12 @@ +#ifdef MIDIPIX_FREESTANDING + +#include + +int __stdcall dalist_entry_point( + void * hinstance, + uint32_t reason, + void * reserved) +{ + return 1; +} +#endif diff --git a/src/dalist_lib_entry_point.c b/src/dalist_lib_entry_point.c deleted file mode 100644 index d4124ed..0000000 --- a/src/dalist_lib_entry_point.c +++ /dev/null @@ -1,12 +0,0 @@ -#ifdef MIDIPIX_FREESTANDING - -#include - -int __stdcall dalist_lib_entry_point( - void * hinstance, - uint32_t reason, - void * reserved) -{ - return 1; -} -#endif -- cgit v1.2.3