summaryrefslogtreecommitdiffstats
path: root/otherlibs/win32unix/link.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/win32unix/link.c')
-rw-r--r--otherlibs/win32unix/link.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/otherlibs/win32unix/link.c b/otherlibs/win32unix/link.c
index 26202ed98..892143423 100644
--- a/otherlibs/win32unix/link.c
+++ b/otherlibs/win32unix/link.c
@@ -17,18 +17,18 @@
#include <mlvalues.h>
#include <fail.h>
#include "unixsupport.h"
-
-typedef
+
+typedef
BOOL (WINAPI *tCreateHardLink)(
LPCTSTR lpFileName,
LPCTSTR lpExistingFileName,
- LPSECURITY_ATTRIBUTES lpSecurityAttributes
+ LPSECURITY_ATTRIBUTES lpSecurityAttributes
);
-
+
CAMLprim value unix_link(value path1, value path2)
-{
+{
HMODULE hModKernel32;
- tCreateHardLink pCreateHardLink;
+ tCreateHardLink pCreateHardLink;
hModKernel32 = GetModuleHandle("KERNEL32.DLL");
pCreateHardLink =
(tCreateHardLink) GetProcAddress(hModKernel32, "CreateHardLinkA");
@@ -39,4 +39,4 @@ CAMLprim value unix_link(value path1, value path2)
uerror("link", path2);
}
return Val_unit;
-}
+}