summaryrefslogtreecommitdiffstats
path: root/otherlibs/win32unix/link.c
diff options
context:
space:
mode:
authorDamien Doligez <damien.doligez-inria.fr>2010-01-22 12:48:24 +0000
committerDamien Doligez <damien.doligez-inria.fr>2010-01-22 12:48:24 +0000
commit04b1656222698bd7e92f213e9a718b7a4185643a (patch)
tree6186d1ba1e00adb1232908f95cb92c299902a943 /otherlibs/win32unix/link.c
parentbdc0fadee2dc9669818955486b4c3497016edda5 (diff)
clean up spaces and tabs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9547 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
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;
-}
+}