summaryrefslogtreecommitdiff
path: root/sal/systools/win32/uwinapi
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-10-27 13:13:11 +0100
committerCaolán McNamara <caolanm@redhat.com>2010-10-27 16:04:46 +0100
commitda5cef0ab476edf496f7591ab511d09336dd197f (patch)
treead97ca5f38af80e9de0c925388942d5a520f1b0f /sal/systools/win32/uwinapi
parentc9d96e6ac9985f4bf9e899d6d31937bae374c57d (diff)
add modelines to .h and .c files as well
Diffstat (limited to 'sal/systools/win32/uwinapi')
-rw-r--r--sal/systools/win32/uwinapi/Uwinapi.h4
-rw-r--r--sal/systools/win32/uwinapi/macros.h3
-rw-r--r--sal/systools/win32/uwinapi/snprintf.c3
-rw-r--r--sal/systools/win32/uwinapi/sntprintf.c3
-rw-r--r--sal/systools/win32/uwinapi/snwprintf.c3
-rw-r--r--sal/systools/win32/uwinapi/win95sys.h2
6 files changed, 17 insertions, 1 deletions
diff --git a/sal/systools/win32/uwinapi/Uwinapi.h b/sal/systools/win32/uwinapi/Uwinapi.h
index 2929729fe5db..da3e336af1c7 100644
--- a/sal/systools/win32/uwinapi/Uwinapi.h
+++ b/sal/systools/win32/uwinapi/Uwinapi.h
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
#pragma once
#ifdef _UWINAPI_
@@ -129,4 +130,5 @@ EXTERN_C _declspec( naked ) rettype calltype func params \
{ \
_asm jmp [module##_##func##_Ptr] \
} \
-EXTERN_C _declspec( dllexport ) FARPROC module##_##func##_Ptr = (FARPROC)func##_Thunk; \ No newline at end of file
+EXTERN_C _declspec( dllexport ) FARPROC module##_##func##_Ptr = (FARPROC)func##_Thunk;
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sal/systools/win32/uwinapi/macros.h b/sal/systools/win32/uwinapi/macros.h
index b75926be9d0f..69b2d66609c1 100644
--- a/sal/systools/win32/uwinapi/macros.h
+++ b/sal/systools/win32/uwinapi/macros.h
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -230,3 +231,5 @@ static rettype calltype func##_##Failure params \
return (rettype)0; \
}
#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sal/systools/win32/uwinapi/snprintf.c b/sal/systools/win32/uwinapi/snprintf.c
index 694eef21fbf9..3c07e6863d94 100644
--- a/sal/systools/win32/uwinapi/snprintf.c
+++ b/sal/systools/win32/uwinapi/snprintf.c
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* Not unicode */
#undef _UNICODE
@@ -8,3 +9,5 @@
#endif
#include "sntprintf.c"
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sal/systools/win32/uwinapi/sntprintf.c b/sal/systools/win32/uwinapi/sntprintf.c
index 69d47821311c..144882bddc63 100644
--- a/sal/systools/win32/uwinapi/sntprintf.c
+++ b/sal/systools/win32/uwinapi/sntprintf.c
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
#define _SNPRINTF_DLLIMPORT __declspec( dllexport )
#include <stdarg.h>
@@ -116,3 +117,5 @@ _SNPRINTF_DLLIMPORT int __cdecl sntprintf( _TCHAR *buffer, size_t count, const _
return retval;
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sal/systools/win32/uwinapi/snwprintf.c b/sal/systools/win32/uwinapi/snwprintf.c
index 80a5760c86f1..9b159c9b227b 100644
--- a/sal/systools/win32/uwinapi/snwprintf.c
+++ b/sal/systools/win32/uwinapi/snwprintf.c
@@ -1,5 +1,8 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
#ifndef _UNICODE
#define _UNICODE
#endif
#include "sntprintf.c"
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sal/systools/win32/uwinapi/win95sys.h b/sal/systools/win32/uwinapi/win95sys.h
index 4ca0c8e8fcff..f5500fc7ea9c 100644
--- a/sal/systools/win32/uwinapi/win95sys.h
+++ b/sal/systools/win32/uwinapi/win95sys.h
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
#pragma once
//Kernel32 objects
@@ -346,3 +347,4 @@ DWORD LastTlsSetValueEIP[64]; // 200h (parallel to TlsArray, contains EIP
// where TLS value was last set from)
} THREAD_DATABASE, *PTHREAD_DATABASE;
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */