From 7371d7e2a7f84a0840683d3db9f4556bc358088e Mon Sep 17 00:00:00 2001
From: Simon Marlow <marlowsd@gmail.com>
Date: Fri, 26 Sep 2014 20:11:25 +0100
Subject: [PATCH] Revert "rts: add Emacs 'Local Variables' to every .c file"

This reverts commit 39b5c1cbd8950755de400933cecca7b8deb4ffcd.
---
 rts/Adjustor.c             | 8 --------
 rts/Apply.h                | 8 --------
 rts/Arena.c                | 8 --------
 rts/Arena.h                | 8 --------
 rts/AutoApply.h            | 8 --------
 rts/AwaitEvent.h           | 8 --------
 rts/BeginPrivate.h         | 8 --------
 rts/Capability.c           | 8 --------
 rts/Capability.h           | 8 --------
 rts/CheckUnload.c          | 8 --------
 rts/CheckUnload.h          | 8 --------
 rts/ClosureFlags.c         | 8 --------
 rts/Disassembler.c         | 8 --------
 rts/Disassembler.h         | 8 --------
 rts/EndPrivate.h           | 8 --------
 rts/FileLock.c             | 8 --------
 rts/FileLock.h             | 8 --------
 rts/GetEnv.h               | 8 --------
 rts/GetTime.h              | 8 --------
 rts/Globals.c              | 8 --------
 rts/Globals.h              | 8 --------
 rts/Hash.c                 | 8 --------
 rts/Hash.h                 | 8 --------
 rts/Hpc.c                  | 8 --------
 rts/HsFFI.c                | 8 --------
 rts/Inlines.c              | 8 --------
 rts/Interpreter.c          | 8 --------
 rts/Interpreter.h          | 8 --------
 rts/LdvProfile.c           | 8 --------
 rts/LdvProfile.h           | 8 --------
 rts/Linker.c               | 8 --------
 rts/LinkerInternals.h      | 8 --------
 rts/Messages.c             | 8 --------
 rts/Messages.h             | 8 --------
 rts/OldARMAtomic.c         | 8 --------
 rts/Papi.c                 | 8 --------
 rts/Papi.h                 | 8 --------
 rts/PosixSource.h          | 8 --------
 rts/Prelude.h              | 8 --------
 rts/Printer.c              | 8 --------
 rts/Printer.h              | 8 --------
 rts/ProfHeap.c             | 8 --------
 rts/ProfHeap.h             | 8 --------
 rts/Profiling.c            | 8 --------
 rts/Profiling.h            | 8 --------
 rts/Proftimer.c            | 8 --------
 rts/Proftimer.h            | 8 --------
 rts/RaiseAsync.c           | 8 --------
 rts/RaiseAsync.h           | 8 --------
 rts/RetainerProfile.c      | 8 --------
 rts/RetainerProfile.h      | 8 --------
 rts/RetainerSet.c          | 8 --------
 rts/RetainerSet.h          | 8 --------
 rts/RtsAPI.c               | 8 --------
 rts/RtsDllMain.c           | 8 --------
 rts/RtsDllMain.h           | 8 --------
 rts/RtsFlags.c             | 8 --------
 rts/RtsFlags.h             | 8 --------
 rts/RtsMain.c              | 8 --------
 rts/RtsMessages.c          | 8 --------
 rts/RtsSignals.h           | 8 --------
 rts/RtsStartup.c           | 8 --------
 rts/RtsUtils.c             | 8 --------
 rts/RtsUtils.h             | 8 --------
 rts/STM.c                  | 8 --------
 rts/STM.h                  | 8 --------
 rts/Schedule.c             | 8 --------
 rts/Schedule.h             | 8 --------
 rts/Sparks.c               | 8 --------
 rts/Sparks.h               | 8 --------
 rts/Stable.c               | 8 --------
 rts/Stable.h               | 8 --------
 rts/Stats.c                | 8 --------
 rts/Stats.h                | 8 --------
 rts/StgCRun.c              | 8 --------
 rts/StgPrimFloat.c         | 8 --------
 rts/StgPrimFloat.h         | 8 --------
 rts/StgRun.h               | 8 --------
 rts/Task.c                 | 8 --------
 rts/Task.h                 | 8 --------
 rts/ThreadLabels.c         | 8 --------
 rts/ThreadLabels.h         | 8 --------
 rts/ThreadPaused.c         | 8 --------
 rts/ThreadPaused.h         | 8 --------
 rts/Threads.c              | 8 --------
 rts/Threads.h              | 8 --------
 rts/Ticker.h               | 8 --------
 rts/Ticky.c                | 8 --------
 rts/Ticky.h                | 8 --------
 rts/Timer.c                | 8 --------
 rts/Timer.h                | 8 --------
 rts/Trace.c                | 8 --------
 rts/Trace.h                | 8 --------
 rts/Updates.h              | 8 --------
 rts/WSDeque.c              | 8 --------
 rts/WSDeque.h              | 8 --------
 rts/Weak.c                 | 8 --------
 rts/Weak.h                 | 8 --------
 rts/eventlog/EventLog.c    | 8 --------
 rts/eventlog/EventLog.h    | 8 --------
 rts/hooks/FlagDefaults.c   | 8 --------
 rts/hooks/MallocFail.c     | 8 --------
 rts/hooks/OnExit.c         | 8 --------
 rts/hooks/OutOfHeap.c      | 8 --------
 rts/hooks/StackOverflow.c  | 8 --------
 rts/posix/Clock.h          | 8 --------
 rts/posix/GetEnv.c         | 8 --------
 rts/posix/GetTime.c        | 8 --------
 rts/posix/Itimer.c         | 8 --------
 rts/posix/Itimer.h         | 8 --------
 rts/posix/OSMem.c          | 8 --------
 rts/posix/OSThreads.c      | 8 --------
 rts/posix/Select.c         | 8 --------
 rts/posix/Select.h         | 8 --------
 rts/posix/Signals.c        | 8 --------
 rts/posix/Signals.h        | 8 --------
 rts/posix/TTY.c            | 8 --------
 rts/posix/TTY.h            | 8 --------
 rts/sm/BlockAlloc.c        | 8 --------
 rts/sm/BlockAlloc.h        | 8 --------
 rts/sm/Compact.c           | 8 --------
 rts/sm/Compact.h           | 8 --------
 rts/sm/Evac.c              | 8 --------
 rts/sm/Evac.h              | 8 --------
 rts/sm/GC.c                | 8 --------
 rts/sm/GC.h                | 8 --------
 rts/sm/GCAux.c             | 8 --------
 rts/sm/GCTDecl.h           | 8 --------
 rts/sm/GCThread.h          | 8 --------
 rts/sm/GCUtils.c           | 8 --------
 rts/sm/GCUtils.h           | 8 --------
 rts/sm/MBlock.c            | 8 --------
 rts/sm/MarkStack.h         | 8 --------
 rts/sm/MarkWeak.c          | 8 --------
 rts/sm/MarkWeak.h          | 8 --------
 rts/sm/OSMem.h             | 8 --------
 rts/sm/Sanity.c            | 8 --------
 rts/sm/Sanity.h            | 8 --------
 rts/sm/Scav.c              | 8 --------
 rts/sm/Scav.h              | 8 --------
 rts/sm/Storage.c           | 8 --------
 rts/sm/Storage.h           | 8 --------
 rts/sm/Sweep.c             | 8 --------
 rts/sm/Sweep.h             | 8 --------
 rts/win32/AsyncIO.c        | 8 --------
 rts/win32/AsyncIO.h        | 8 --------
 rts/win32/AwaitEvent.c     | 8 --------
 rts/win32/ConsoleHandler.c | 8 --------
 rts/win32/ConsoleHandler.h | 8 --------
 rts/win32/GetEnv.c         | 8 --------
 rts/win32/GetTime.c        | 8 --------
 rts/win32/IOManager.c      | 8 --------
 rts/win32/IOManager.h      | 8 --------
 rts/win32/OSMem.c          | 8 --------
 rts/win32/OSThreads.c      | 8 --------
 rts/win32/ThrIOManager.c   | 8 --------
 rts/win32/Ticker.c         | 8 --------
 rts/win32/WorkQueue.c      | 8 --------
 rts/win32/WorkQueue.h      | 8 --------
 rts/win32/seh_excn.c       | 8 --------
 rts/win32/seh_excn.h       | 8 --------
 161 files changed, 1288 deletions(-)

diff --git a/rts/Adjustor.c b/rts/Adjustor.c
index 3c65da6784c8..83d5a73cf5d9 100644
--- a/rts/Adjustor.c
+++ b/rts/Adjustor.c
@@ -1321,11 +1321,3 @@ freeHaskellFunctionPtr(void* ptr)
 }
 
 #endif // !USE_LIBFFI_FOR_ADJUSTORS
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Apply.h b/rts/Apply.h
index 4df567feee28..1c0b1623d913 100644
--- a/rts/Apply.h
+++ b/rts/Apply.h
@@ -24,11 +24,3 @@ extern RTS_PRIVATE StgFun *stg_stack_save_entries[];
 #endif
 
 #endif /* APPLY_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Arena.c b/rts/Arena.c
index 92e479b89d64..813e60ebf6f0 100644
--- a/rts/Arena.c
+++ b/rts/Arena.c
@@ -117,11 +117,3 @@ arenaBlocks( void )
 {
     return arena_blocks;
 }
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Arena.h b/rts/Arena.h
index ac62c6cf3811..086a0200adcc 100644
--- a/rts/Arena.h
+++ b/rts/Arena.h
@@ -23,11 +23,3 @@ RTS_PRIVATE void arenaFree  ( Arena * );
 RTS_PRIVATE unsigned long arenaBlocks( void );
 
 #endif /* ARENA_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/AutoApply.h b/rts/AutoApply.h
index 7ad2d79f1e45..74af74b5d32e 100644
--- a/rts/AutoApply.h
+++ b/rts/AutoApply.h
@@ -89,11 +89,3 @@
 
 #endif /* APPLY_H */
 
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/AwaitEvent.h b/rts/AwaitEvent.h
index e80d351ab44e..ecc13b8ff298 100644
--- a/rts/AwaitEvent.h
+++ b/rts/AwaitEvent.h
@@ -22,11 +22,3 @@ RTS_PRIVATE void awaitEvent(rtsBool wait);  /* In posix/Select.c or
 #endif
 
 #endif /* AWAITEVENT_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/BeginPrivate.h b/rts/BeginPrivate.h
index f7b7d198f0c0..6471b92a4076 100644
--- a/rts/BeginPrivate.h
+++ b/rts/BeginPrivate.h
@@ -8,11 +8,3 @@
 #if defined(HAS_VISIBILITY_HIDDEN) && !defined(freebsd_HOST_OS)
 #pragma GCC visibility push(hidden)
 #endif
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Capability.c b/rts/Capability.c
index a95400625769..8544944957b1 100644
--- a/rts/Capability.c
+++ b/rts/Capability.c
@@ -1094,11 +1094,3 @@ void setIOManagerControlFd(nat cap_no USED_IF_THREADS, int fd USED_IF_THREADS) {
 #endif
 }
 #endif
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Capability.h b/rts/Capability.h
index 9a6651e0e60c..9ef7b24bb9d0 100644
--- a/rts/Capability.h
+++ b/rts/Capability.h
@@ -430,11 +430,3 @@ INLINE_HEADER rtsBool emptyInbox(Capability *cap)
 #include "EndPrivate.h"
 
 #endif /* CAPABILITY_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/CheckUnload.c b/rts/CheckUnload.c
index 170e8861f09b..98f184b84c7b 100644
--- a/rts/CheckUnload.c
+++ b/rts/CheckUnload.c
@@ -318,11 +318,3 @@ void checkUnload (StgClosure *static_objects)
 
   freeHashTable(addrs, NULL);
 }
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/CheckUnload.h b/rts/CheckUnload.h
index 9c2bac89f1c6..7d2e5b1321cd 100644
--- a/rts/CheckUnload.h
+++ b/rts/CheckUnload.h
@@ -18,11 +18,3 @@ void checkUnload (StgClosure *static_objects);
 #include "EndPrivate.h"
 
 #endif // CHECKUNLOAD_H
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/ClosureFlags.c b/rts/ClosureFlags.c
index def33eb9a9ae..c43437dc0419 100644
--- a/rts/ClosureFlags.c
+++ b/rts/ClosureFlags.c
@@ -91,11 +91,3 @@ StgWord16 closure_flags[] = {
 #if N_CLOSURE_TYPES != 65
 #error Closure types changed: update ClosureFlags.c!
 #endif
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Disassembler.c b/rts/Disassembler.c
index b84e43ffb3fc..6b7fa8210172 100644
--- a/rts/Disassembler.c
+++ b/rts/Disassembler.c
@@ -316,11 +316,3 @@ void disassemble( StgBCO *bco )
 }
 
 #endif /* DEBUG */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Disassembler.h b/rts/Disassembler.h
index 277361bc6bf2..c6f71564c48a 100644
--- a/rts/Disassembler.h
+++ b/rts/Disassembler.h
@@ -17,11 +17,3 @@ RTS_PRIVATE void disassemble( StgBCO *bco );
 #endif
 
 #endif /* DISASSEMBLER_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/EndPrivate.h b/rts/EndPrivate.h
index 61d56fb3e143..4cfb68f0ba87 100644
--- a/rts/EndPrivate.h
+++ b/rts/EndPrivate.h
@@ -1,11 +1,3 @@
 #if defined(HAS_VISIBILITY_HIDDEN) && !defined(freebsd_HOST_OS)
 #pragma GCC visibility pop
 #endif
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/FileLock.c b/rts/FileLock.c
index 8a8dc86b2803..cd2dc1d1dc62 100644
--- a/rts/FileLock.c
+++ b/rts/FileLock.c
@@ -143,11 +143,3 @@ unlockFile(int fd)
     RELEASE_LOCK(&file_lock_mutex);
     return 0;
 }
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/FileLock.h b/rts/FileLock.h
index fe9c52a5748f..72ab170437b9 100644
--- a/rts/FileLock.h
+++ b/rts/FileLock.h
@@ -13,11 +13,3 @@ RTS_PRIVATE void initFileLocking(void);
 RTS_PRIVATE void freeFileLocking(void);
 
 #endif /* POSIX_FILELOCK_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/GetEnv.h b/rts/GetEnv.h
index 497fcc9712ec..5e3d0cf18418 100644
--- a/rts/GetEnv.h
+++ b/rts/GetEnv.h
@@ -21,11 +21,3 @@ void freeProgEnvv (int envc, char *envv[]);
 #include "EndPrivate.h"
 
 #endif /* GETENV_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/GetTime.h b/rts/GetTime.h
index 8e293a8d2265..32c375482957 100644
--- a/rts/GetTime.h
+++ b/rts/GetTime.h
@@ -29,11 +29,3 @@ W_    getPageFaults         (void);
 #include "EndPrivate.h"
 
 #endif /* GETTIME_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Globals.c b/rts/Globals.c
index d839e44f4abe..2e4b99474f9a 100644
--- a/rts/Globals.c
+++ b/rts/Globals.c
@@ -140,11 +140,3 @@ getOrSetLibHSghcFastStringTable(StgStablePtr ptr)
 {
     return getOrSetKey(LibHSghcFastStringTable,ptr);
 }
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Globals.h b/rts/Globals.h
index ee62f2f7c101..395d240e2a5a 100644
--- a/rts/Globals.h
+++ b/rts/Globals.h
@@ -16,11 +16,3 @@ RTS_PRIVATE void initGlobalStore(void);
 RTS_PRIVATE void exitGlobalStore(void);
 
 #endif
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Hash.c b/rts/Hash.c
index 1c5897cb723b..b91d70c2190e 100644
--- a/rts/Hash.c
+++ b/rts/Hash.c
@@ -397,11 +397,3 @@ int keyCountHashTable (HashTable *table)
 {
     return table->kcount;
 }
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Hash.h b/rts/Hash.h
index 167000c33607..d22caba55526 100644
--- a/rts/Hash.h
+++ b/rts/Hash.h
@@ -52,11 +52,3 @@ void exitHashTable ( void );
 #include "EndPrivate.h"
 
 #endif /* HASH_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Hpc.c b/rts/Hpc.c
index ca3386d324e2..20ef91f5f6a4 100644
--- a/rts/Hpc.c
+++ b/rts/Hpc.c
@@ -404,11 +404,3 @@ exitHpc(void) {
 HpcModuleInfo *hs_hpc_rootModule(void) {
   return modules;
 }
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/HsFFI.c b/rts/HsFFI.c
index d1c0964d7af8..8fae246111ba 100644
--- a/rts/HsFFI.c
+++ b/rts/HsFFI.c
@@ -66,11 +66,3 @@ hs_thread_done(void)
 {
     freeMyTask();
 }
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Inlines.c b/rts/Inlines.c
index 3810e4d5a20c..e6f29b6e1b8b 100644
--- a/rts/Inlines.c
+++ b/rts/Inlines.c
@@ -7,11 +7,3 @@
 #include "Schedule.h"
 #include "Capability.h"
 #include "WSDeque.h"
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Interpreter.c b/rts/Interpreter.c
index f3a5c783cd0f..f4fe816d28db 100644
--- a/rts/Interpreter.c
+++ b/rts/Interpreter.c
@@ -1516,11 +1516,3 @@ run_BCO:
 
     barf("interpretBCO: fell off end of the interpreter");
 }
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Interpreter.h b/rts/Interpreter.h
index b95c61af7471..fd4f7b98c370 100644
--- a/rts/Interpreter.h
+++ b/rts/Interpreter.h
@@ -12,11 +12,3 @@
 RTS_PRIVATE Capability *interpretBCO (Capability* cap);
 
 #endif /* INTERPRETER_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/LdvProfile.c b/rts/LdvProfile.c
index 3b56149b0537..29fb24dffe56 100644
--- a/rts/LdvProfile.c
+++ b/rts/LdvProfile.c
@@ -249,11 +249,3 @@ LdvCensusKillAll( void )
 }
 
 #endif /* PROFILING */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/LdvProfile.h b/rts/LdvProfile.h
index 8f633225b90e..b4418046ba91 100644
--- a/rts/LdvProfile.h
+++ b/rts/LdvProfile.h
@@ -39,11 +39,3 @@ RTS_PRIVATE void LdvCensusKillAll ( void );
 #endif /* PROFILING */
 
 #endif /* LDVPROFILE_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Linker.c b/rts/Linker.c
index 5919d010f323..21e5ebe97c2d 100644
--- a/rts/Linker.c
+++ b/rts/Linker.c
@@ -7176,11 +7176,3 @@ machoGetMisalignment( FILE * f )
 #endif
 
 #endif
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/LinkerInternals.h b/rts/LinkerInternals.h
index 1a203ded7e15..e1942bc8aec8 100644
--- a/rts/LinkerInternals.h
+++ b/rts/LinkerInternals.h
@@ -149,11 +149,3 @@ void exitLinker( void );
 void freeObjectCode (ObjectCode *oc);
 
 #endif /* LINKERINTERNALS_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Messages.c b/rts/Messages.c
index 2f03ae60c083..5a67bf3e8ca5 100644
--- a/rts/Messages.c
+++ b/rts/Messages.c
@@ -344,11 +344,3 @@ loop:
 
     return NULL; // not blocked
 }
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Messages.h b/rts/Messages.h
index c965511abfac..4121364b21dc 100644
--- a/rts/Messages.h
+++ b/rts/Messages.h
@@ -28,11 +28,3 @@ doneWithMsgThrowTo (MessageThrowTo *m)
 }
 
 #include "EndPrivate.h"
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/OldARMAtomic.c b/rts/OldARMAtomic.c
index 949e72b041ac..a28d2bc00eea 100644
--- a/rts/OldARMAtomic.c
+++ b/rts/OldARMAtomic.c
@@ -53,11 +53,3 @@ void arm_atomic_spin_unlock()
 #endif  /* arm_HOST_ARCH && defined(arm_HOST_ARCH_PRE_ARMv6) */
 
 #endif  /* defined(THREADED_RTS) */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Papi.c b/rts/Papi.c
index 39b9ee75f138..a36157f4c1f8 100644
--- a/rts/Papi.c
+++ b/rts/Papi.c
@@ -394,11 +394,3 @@ papi_thread_stop_gc1_count(int event_set)
 }
 
 #endif /* USE_PAPI */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Papi.h b/rts/Papi.h
index 1aa1b3138114..97a9649f2d5d 100644
--- a/rts/Papi.h
+++ b/rts/Papi.h
@@ -34,11 +34,3 @@ void papi_thread_stop_gc1_count(int event_set);
 #include "EndPrivate.h"
 
 #endif /* PAPI_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/PosixSource.h b/rts/PosixSource.h
index 7803dd237241..6659cfef91ec 100644
--- a/rts/PosixSource.h
+++ b/rts/PosixSource.h
@@ -40,11 +40,3 @@
 #endif
 
 #endif /* POSIXSOURCE_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Prelude.h b/rts/Prelude.h
index adbb5535bf16..0c54148ba2aa 100644
--- a/rts/Prelude.h
+++ b/rts/Prelude.h
@@ -144,11 +144,3 @@ PRELUDE_INFO(base_GHCziStable_StablePtr_con_info);
 #define StablePtr_con_info        DLL_IMPORT_DATA_REF(base_GHCziStable_StablePtr_con_info)
 
 #endif /* PRELUDE_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Printer.c b/rts/Printer.c
index 49e0c059f756..3d77e83282e1 100644
--- a/rts/Printer.c
+++ b/rts/Printer.c
@@ -1025,11 +1025,3 @@ info_hdr_type(StgClosure *closure, char *res){
   strcpy(res,closure_type_names[get_itbl(closure)->type]);
 }
 
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Printer.h b/rts/Printer.h
index 43ccfe9d62ef..96656c4602cf 100644
--- a/rts/Printer.h
+++ b/rts/Printer.h
@@ -39,11 +39,3 @@ extern char *what_next_strs[];
 
 #endif /* PRINTER_H */
 
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/ProfHeap.c b/rts/ProfHeap.c
index 5b7cf302313f..9079c2be6002 100644
--- a/rts/ProfHeap.c
+++ b/rts/ProfHeap.c
@@ -1148,11 +1148,3 @@ void heapCensus (Time t)
 #endif
 }    
 
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/ProfHeap.h b/rts/ProfHeap.h
index 4aa3bcd05708..b3bed903b54c 100644
--- a/rts/ProfHeap.h
+++ b/rts/ProfHeap.h
@@ -19,11 +19,3 @@ rtsBool strMatchesSelector (char* str, char* sel);
 #include "EndPrivate.h"
 
 #endif /* PROFHEAP_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Profiling.c b/rts/Profiling.c
index 41c2aa5f8a12..53f64a72807c 100644
--- a/rts/Profiling.c
+++ b/rts/Profiling.c
@@ -1145,11 +1145,3 @@ debugCCS( CostCentreStack *ccs )
 #endif /* DEBUG */
 
 #endif /* PROFILING */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Profiling.h b/rts/Profiling.h
index 6d5950c62bbc..8c365220fb98 100644
--- a/rts/Profiling.h
+++ b/rts/Profiling.h
@@ -46,11 +46,3 @@ void debugCCS( CostCentreStack *ccs );
 #include "EndPrivate.h"
 
 #endif /* PROFILING_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Proftimer.c b/rts/Proftimer.c
index d0e6aa79d511..6458f6e0956f 100644
--- a/rts/Proftimer.c
+++ b/rts/Proftimer.c
@@ -89,11 +89,3 @@ handleProfTick(void)
 	}
     }
 }
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Proftimer.h b/rts/Proftimer.h
index b8f2aa80c55e..4bb063fbbcc4 100644
--- a/rts/Proftimer.h
+++ b/rts/Proftimer.h
@@ -22,11 +22,3 @@ extern rtsBool performHeapProfile;
 #include "EndPrivate.h"
 
 #endif /* PROFTIMER_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/RaiseAsync.c b/rts/RaiseAsync.c
index 7da3e6452d7e..a5440e40adbf 100644
--- a/rts/RaiseAsync.c
+++ b/rts/RaiseAsync.c
@@ -1051,11 +1051,3 @@ done:
 }
 
 
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/RaiseAsync.h b/rts/RaiseAsync.h
index d0c9efcbee2c..3da9e7bc09f3 100644
--- a/rts/RaiseAsync.h
+++ b/rts/RaiseAsync.h
@@ -75,11 +75,3 @@ interruptible(StgTSO *t)
 
 #endif /* RAISEASYNC_H */
 
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/RetainerProfile.c b/rts/RetainerProfile.c
index d0e95d8ebb03..bfc96247aa57 100644
--- a/rts/RetainerProfile.c
+++ b/rts/RetainerProfile.c
@@ -2286,11 +2286,3 @@ belongToHeap(StgPtr p)
 #endif /* DEBUG_RETAINER */
 
 #endif /* PROFILING */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/RetainerProfile.h b/rts/RetainerProfile.h
index d24f99428c63..d92563ffbb1b 100644
--- a/rts/RetainerProfile.h
+++ b/rts/RetainerProfile.h
@@ -51,11 +51,3 @@ extern W_ retainerStackBlocks ( void );
 #endif /* PROFILING */
 
 #endif /* RETAINERPROFILE_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/RetainerSet.c b/rts/RetainerSet.c
index 075dd7560f70..1905866e8a10 100644
--- a/rts/RetainerSet.c
+++ b/rts/RetainerSet.c
@@ -491,11 +491,3 @@ outputAllRetainerSet(FILE *prof_file)
 #endif /* SECOND_APPROACH */
 
 #endif /* PROFILING */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/RetainerSet.h b/rts/RetainerSet.h
index 5f24d84063c1..086629d4ab79 100644
--- a/rts/RetainerSet.h
+++ b/rts/RetainerSet.h
@@ -203,11 +203,3 @@ void printRetainer(FILE *, retainer);
 
 #endif /* PROFILING */
 #endif /* RETAINERSET_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/RtsAPI.c b/rts/RtsAPI.c
index 16722534bcef..fb91fafdd341 100644
--- a/rts/RtsAPI.c
+++ b/rts/RtsAPI.c
@@ -620,11 +620,3 @@ void rts_done (void)
     freeMyTask();
 }
 
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/RtsDllMain.c b/rts/RtsDllMain.c
index 6bb3db1bd681..b3b10f029552 100644
--- a/rts/RtsDllMain.c
+++ b/rts/RtsDllMain.c
@@ -41,11 +41,3 @@ DllMain ( HINSTANCE hInstance STG_UNUSED
 }
 
 #endif
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/RtsDllMain.h b/rts/RtsDllMain.h
index 514796278022..4b9480dd850a 100644
--- a/rts/RtsDllMain.h
+++ b/rts/RtsDllMain.h
@@ -13,11 +13,3 @@ DllMain ( HINSTANCE hInstance
        , LPVOID reserved
        );
 #endif
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/RtsFlags.c b/rts/RtsFlags.c
index 9c353a113338..44c05cec3b57 100644
--- a/rts/RtsFlags.c
+++ b/rts/RtsFlags.c
@@ -1859,11 +1859,3 @@ void freeRtsArgs(void)
     freeProgArgv();
     freeRtsArgv();
 }
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/RtsFlags.h b/rts/RtsFlags.h
index 0e212b4ca93e..b3627e0e487e 100644
--- a/rts/RtsFlags.h
+++ b/rts/RtsFlags.h
@@ -25,11 +25,3 @@ void freeRtsArgs          (void);
 #include "EndPrivate.h"
 
 #endif /* RTSFLAGS_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/RtsMain.c b/rts/RtsMain.c
index fd5dd25cdae3..3cf4f54cec81 100644
--- a/rts/RtsMain.c
+++ b/rts/RtsMain.c
@@ -117,11 +117,3 @@ int hs_main (int argc, char *argv[],     // program args
 #endif
 }
 # endif /* BATCH_MODE */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/RtsMessages.c b/rts/RtsMessages.c
index 83758175e2f5..6e75abc8a5b2 100644
--- a/rts/RtsMessages.c
+++ b/rts/RtsMessages.c
@@ -283,11 +283,3 @@ rtsDebugMsgFn(const char *s, va_list ap)
      fflush(stderr);
   }
 }
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/RtsSignals.h b/rts/RtsSignals.h
index a319713dbe17..be21765dd699 100644
--- a/rts/RtsSignals.h
+++ b/rts/RtsSignals.h
@@ -65,11 +65,3 @@ void markSignalHandlers (evac_fn evac, void *user);
 #endif /* RTS_USER_SIGNALS */
 
 #endif /* RTSSIGNALS_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/RtsStartup.c b/rts/RtsStartup.c
index 9a3925fad80b..0d0267a75c17 100644
--- a/rts/RtsStartup.c
+++ b/rts/RtsStartup.c
@@ -543,11 +543,3 @@ stg_exit(int n)
     (*exitFn)(n);
   exit(n);
 }
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/RtsUtils.c b/rts/RtsUtils.c
index aff82af45f3e..fff87178a124 100644
--- a/rts/RtsUtils.c
+++ b/rts/RtsUtils.c
@@ -329,11 +329,3 @@ void checkFPUStack(void)
 #endif
 }
 
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/RtsUtils.h b/rts/RtsUtils.h
index 88b0af285c8e..5d825a2118e1 100644
--- a/rts/RtsUtils.h
+++ b/rts/RtsUtils.h
@@ -48,11 +48,3 @@ void checkFPUStack(void);
 #include "EndPrivate.h"
 
 #endif /* RTSUTILS_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/STM.c b/rts/STM.c
index 449c4882cc66..cf97e7b648ee 100644
--- a/rts/STM.c
+++ b/rts/STM.c
@@ -1696,11 +1696,3 @@ void stmWriteTVar(Capability *cap,
 }
 
 /*......................................................................*/
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/STM.h b/rts/STM.h
index fc5523ea9cf9..ffec009577f9 100644
--- a/rts/STM.h
+++ b/rts/STM.h
@@ -221,11 +221,3 @@ void stmWriteTVar(Capability *cap,
 
 #endif /* STM_H */
 
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Schedule.c b/rts/Schedule.c
index ad1cffc1a593..b4881bb86ec0 100644
--- a/rts/Schedule.c
+++ b/rts/Schedule.c
@@ -2868,11 +2868,3 @@ resurrectThreads (StgTSO *threads)
 	}
     }
 }
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Schedule.h b/rts/Schedule.h
index f788aec9ce2e..015cc1cefc17 100644
--- a/rts/Schedule.h
+++ b/rts/Schedule.h
@@ -259,11 +259,3 @@ emptyThreadQueues(Capability *cap)
 
 #endif /* SCHEDULE_H */
 
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Sparks.c b/rts/Sparks.c
index 14b70c5b7b8c..96fda2ebf96a 100644
--- a/rts/Sparks.c
+++ b/rts/Sparks.c
@@ -310,11 +310,3 @@ newSpark (StgRegTable *reg STG_UNUSED, StgClosure *p STG_UNUSED)
 }
 
 #endif /* THREADED_RTS */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Sparks.h b/rts/Sparks.h
index 6bc28795d8d3..e381dd540fb3 100644
--- a/rts/Sparks.h
+++ b/rts/Sparks.h
@@ -106,11 +106,3 @@ INLINE_HEADER rtsBool fizzledSpark (StgClosure *spark)
 #include "EndPrivate.h"
 
 #endif /* SPARKS_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Stable.c b/rts/Stable.c
index 229d707a831b..431b7c66c107 100644
--- a/rts/Stable.c
+++ b/rts/Stable.c
@@ -549,11 +549,3 @@ updateStableTables(rtsBool full)
             });
     }
 }
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Stable.h b/rts/Stable.h
index 0a1cc0dd2f5b..4786d477f3f2 100644
--- a/rts/Stable.h
+++ b/rts/Stable.h
@@ -52,11 +52,3 @@ extern Mutex stable_mutex;
 #include "EndPrivate.h"
 
 #endif /* STABLE_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Stats.c b/rts/Stats.c
index 7acac707babe..894e9d2c79ad 100644
--- a/rts/Stats.c
+++ b/rts/Stats.c
@@ -1004,11 +1004,3 @@ statsClose( void )
 	fclose(sf);
     }
 }
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Stats.h b/rts/Stats.h
index 0bbd7afb4ac3..925920f108ab 100644
--- a/rts/Stats.h
+++ b/rts/Stats.h
@@ -75,11 +75,3 @@ void statsPrintf( char *s, ... )
 #include "EndPrivate.h"
 
 #endif /* STATS_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/StgCRun.c b/rts/StgCRun.c
index 244cdb428b25..f649dbe9fb21 100644
--- a/rts/StgCRun.c
+++ b/rts/StgCRun.c
@@ -815,11 +815,3 @@ StgRun(StgFunPtr f, StgRegTable *basereg) {
 #endif
 
 #endif /* !USE_MINIINTERPRETER */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/StgPrimFloat.c b/rts/StgPrimFloat.c
index dad8ff8bc087..72a251b33ea5 100644
--- a/rts/StgPrimFloat.c
+++ b/rts/StgPrimFloat.c
@@ -218,11 +218,3 @@ __decodeFloat_Int (I_ *man, I_ *exp, StgFloat flt)
     }
 }
 
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/StgPrimFloat.h b/rts/StgPrimFloat.h
index d3911a13b953..c704dc295cb9 100644
--- a/rts/StgPrimFloat.h
+++ b/rts/StgPrimFloat.h
@@ -22,11 +22,3 @@ void      __decodeFloat_Int (I_ *man, I_ *exp, StgFloat flt);
 #include "EndPrivate.h"
 
 #endif /* STGPRIMFLOAT_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/StgRun.h b/rts/StgRun.h
index 0ce72935d6bc..3839793fc3eb 100644
--- a/rts/StgRun.h
+++ b/rts/StgRun.h
@@ -16,11 +16,3 @@ StgWord8 *win32AllocStack(void);
 #endif
 
 #endif /* STGRUN_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Task.c b/rts/Task.c
index 7e4c040350a0..03707116925d 100644
--- a/rts/Task.c
+++ b/rts/Task.c
@@ -516,11 +516,3 @@ printAllTasks(void)
 
 #endif
 
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Task.h b/rts/Task.h
index 82071c58f233..5c7b04963153 100644
--- a/rts/Task.h
+++ b/rts/Task.h
@@ -329,11 +329,3 @@ serialisableTaskId (Task *task
 #include "EndPrivate.h"
 
 #endif /* TASK_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/ThreadLabels.c b/rts/ThreadLabels.c
index 5d891a005e88..981a5d9771be 100644
--- a/rts/ThreadLabels.c
+++ b/rts/ThreadLabels.c
@@ -82,11 +82,3 @@ labelThread(Capability *cap   STG_UNUSED,
 #endif
   traceThreadLabel(cap, tso, label);
 }
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/ThreadLabels.h b/rts/ThreadLabels.h
index ee482312fffc..742e77ae5858 100644
--- a/rts/ThreadLabels.h
+++ b/rts/ThreadLabels.h
@@ -25,11 +25,3 @@ void    labelThread          (Capability *cap,
 #include "EndPrivate.h"
 
 #endif /* THREADLABELS_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/ThreadPaused.c b/rts/ThreadPaused.c
index af37b5367086..15339c40c7b3 100644
--- a/rts/ThreadPaused.c
+++ b/rts/ThreadPaused.c
@@ -382,11 +382,3 @@ end:
         tso->flags &= ~TSO_SQUEEZED;
     }
 }
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/ThreadPaused.h b/rts/ThreadPaused.h
index 16cca35feab5..197b8d3257fb 100644
--- a/rts/ThreadPaused.h
+++ b/rts/ThreadPaused.h
@@ -12,11 +12,3 @@
 RTS_PRIVATE void threadPaused ( Capability *cap, StgTSO * );
 
 #endif /* THREADPAUSED_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Threads.c b/rts/Threads.c
index b1912d83f405..0d0a3fc10682 100644
--- a/rts/Threads.c
+++ b/rts/Threads.c
@@ -880,11 +880,3 @@ printThreadQueue(StgTSO *t)
 }
 
 #endif /* DEBUG */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Threads.h b/rts/Threads.h
index a1ff0803c4ec..6d2661033419 100644
--- a/rts/Threads.h
+++ b/rts/Threads.h
@@ -52,11 +52,3 @@ void printThreadQueue (StgTSO *t);
 #include "EndPrivate.h"
 
 #endif /* THREADS_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Ticker.h b/rts/Ticker.h
index 2958211ca182..685a79e5d2a6 100644
--- a/rts/Ticker.h
+++ b/rts/Ticker.h
@@ -21,11 +21,3 @@ void exitTicker  (rtsBool wait);
 #include "EndPrivate.h"
 
 #endif /* TICKER_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Ticky.c b/rts/Ticky.c
index 649d4ca9b23b..ec2e73be830d 100644
--- a/rts/Ticky.c
+++ b/rts/Ticky.c
@@ -619,11 +619,3 @@ printRegisteredCounterInfo (FILE *tf)
 }
 #endif /* TICKY_TICKY */
 
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Ticky.h b/rts/Ticky.h
index e666a9b2daad..a32a7a6542b1 100644
--- a/rts/Ticky.h
+++ b/rts/Ticky.h
@@ -12,11 +12,3 @@
 RTS_PRIVATE void PrintTickyInfo(void);
 
 #endif /* TICKY_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Timer.c b/rts/Timer.c
index 2a229a48e625..99c09b03a377 100644
--- a/rts/Timer.c
+++ b/rts/Timer.c
@@ -133,11 +133,3 @@ exitTimer (rtsBool wait)
         exitTicker(wait);
     }
 }
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Timer.h b/rts/Timer.h
index 8bd7da4d546e..b03ef0680f11 100644
--- a/rts/Timer.h
+++ b/rts/Timer.h
@@ -13,11 +13,3 @@ RTS_PRIVATE void initTimer (void);
 RTS_PRIVATE void exitTimer (rtsBool wait);
 
 #endif /* TIMER_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Trace.c b/rts/Trace.c
index b69c035d48c0..f28609b132e3 100644
--- a/rts/Trace.c
+++ b/rts/Trace.c
@@ -805,11 +805,3 @@ void dtraceUserMarkerWrapper(Capability *cap, char *msg)
 }
 
 #endif /* !defined(DEBUG) && !defined(TRACING) && defined(DTRACE) */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Trace.h b/rts/Trace.h
index 0a207041fa99..31aefcb58d9f 100644
--- a/rts/Trace.h
+++ b/rts/Trace.h
@@ -880,11 +880,3 @@ INLINE_HEADER void traceTaskDelete(Task *task STG_UNUSED)
 #include "EndPrivate.h"
 
 #endif /* TRACE_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Updates.h b/rts/Updates.h
index c6ed2833d8e3..513177217d80 100644
--- a/rts/Updates.h
+++ b/rts/Updates.h
@@ -91,11 +91,3 @@ INLINE_HEADER void updateWithIndirection (Capability *cap,
 #endif
 
 #endif /* UPDATES_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/WSDeque.c b/rts/WSDeque.c
index ef8c22072b45..19f2866c0829 100644
--- a/rts/WSDeque.c
+++ b/rts/WSDeque.c
@@ -293,11 +293,3 @@ pushWSDeque (WSDeque* q, void * elem)
     ASSERT_WSDEQUE_INVARIANTS(q);
     return rtsTrue;
 }
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/WSDeque.h b/rts/WSDeque.h
index 15e925a24d41..4993d5ac61a9 100644
--- a/rts/WSDeque.h
+++ b/rts/WSDeque.h
@@ -124,11 +124,3 @@ discardElements (WSDeque *q)
 }
 
 #endif // WSDEQUE_H
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Weak.c b/rts/Weak.c
index 62d4c924660b..f8faa4e1f50c 100644
--- a/rts/Weak.c
+++ b/rts/Weak.c
@@ -144,11 +144,3 @@ scheduleFinalizers(Capability *cap, StgWeak *list)
         );
     scheduleThread(cap,t);
 }
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/Weak.h b/rts/Weak.h
index 81210991161b..fbdf18a861ff 100644
--- a/rts/Weak.h
+++ b/rts/Weak.h
@@ -25,11 +25,3 @@ void markWeakList(void);
 
 #endif /* WEAK_H */
 
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/eventlog/EventLog.c b/rts/eventlog/EventLog.c
index b06f824a9e76..ef96f3c88012 100644
--- a/rts/eventlog/EventLog.c
+++ b/rts/eventlog/EventLog.c
@@ -1254,11 +1254,3 @@ void postEventType(EventsBuf *eb, EventType *et)
 }
 
 #endif /* TRACING */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/eventlog/EventLog.h b/rts/eventlog/EventLog.h
index ff5e116d6be8..85370e984387 100644
--- a/rts/eventlog/EventLog.h
+++ b/rts/eventlog/EventLog.h
@@ -170,11 +170,3 @@ INLINE_HEADER void postThreadLabel(Capability    *cap   STG_UNUSED,
 #include "EndPrivate.h"
 
 #endif /* TRACING_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/hooks/FlagDefaults.c b/rts/hooks/FlagDefaults.c
index 18cc76c8f951..ce1666f06d95 100644
--- a/rts/hooks/FlagDefaults.c
+++ b/rts/hooks/FlagDefaults.c
@@ -19,11 +19,3 @@ defaultsHook (void)
   */
 }
 
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/hooks/MallocFail.c b/rts/hooks/MallocFail.c
index 2c63f8847276..6c3a1a0faf9c 100644
--- a/rts/hooks/MallocFail.c
+++ b/rts/hooks/MallocFail.c
@@ -15,11 +15,3 @@ MallocFailHook (W_ request_size /* in bytes */, char *msg)
     fprintf(stderr, "malloc: failed on request for %" FMT_Word " bytes; message: %s\n", request_size, msg);
 }
 
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/hooks/OnExit.c b/rts/hooks/OnExit.c
index d99cb83ac390..30764acba290 100644
--- a/rts/hooks/OnExit.c
+++ b/rts/hooks/OnExit.c
@@ -18,11 +18,3 @@ void
 OnExitHook (void)
 {
 }
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/hooks/OutOfHeap.c b/rts/hooks/OutOfHeap.c
index 8998b4d176ed..ec4697b54711 100644
--- a/rts/hooks/OutOfHeap.c
+++ b/rts/hooks/OutOfHeap.c
@@ -22,11 +22,3 @@ OutOfHeapHook (W_ request_size, W_ heap_size) /* both sizes in bytes */
   }
 }
 
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/hooks/StackOverflow.c b/rts/hooks/StackOverflow.c
index 50995b843006..407293902d87 100644
--- a/rts/hooks/StackOverflow.c
+++ b/rts/hooks/StackOverflow.c
@@ -15,11 +15,3 @@ StackOverflowHook (W_ stack_size)    /* in bytes */
     fprintf(stderr, "Stack space overflow: current size %" FMT_Word " bytes.\nUse `+RTS -Ksize -RTS' to increase it.\n", stack_size);
 }
 
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/posix/Clock.h b/rts/posix/Clock.h
index 16d9252460ab..2c71d7a75d89 100644
--- a/rts/posix/Clock.h
+++ b/rts/posix/Clock.h
@@ -33,11 +33,3 @@
 #endif
 
 #endif /* POSIX_CLOCK_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/posix/GetEnv.c b/rts/posix/GetEnv.c
index de6d5cd98980..e3f731cfedb7 100644
--- a/rts/posix/GetEnv.c
+++ b/rts/posix/GetEnv.c
@@ -42,11 +42,3 @@ void getProgEnvv(int *out_envc, char **out_envv[]) {
 void freeProgEnvv(int envc STG_UNUSED, char *envv[] STG_UNUSED) {
     /* nothing */
 }
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/posix/GetTime.c b/rts/posix/GetTime.c
index d44fc9a56621..3e0e1cabfc7d 100644
--- a/rts/posix/GetTime.c
+++ b/rts/posix/GetTime.c
@@ -247,11 +247,3 @@ getPageFaults(void)
     return(t.ru_majflt);
 #endif
 }
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/posix/Itimer.c b/rts/posix/Itimer.c
index f8b9f66d4d31..57c7741cc733 100644
--- a/rts/posix/Itimer.c
+++ b/rts/posix/Itimer.c
@@ -280,11 +280,3 @@ rtsTimerSignal(void)
 {
     return ITIMER_SIGNAL;
 }
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/posix/Itimer.h b/rts/posix/Itimer.h
index 3ca2f5b097d6..7996da7c9488 100644
--- a/rts/posix/Itimer.h
+++ b/rts/posix/Itimer.h
@@ -10,11 +10,3 @@
 #define ITIMER_H
 
 #endif /* ITIMER_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/posix/OSMem.c b/rts/posix/OSMem.c
index eb51e98e72da..8a6a85e3ad4a 100644
--- a/rts/posix/OSMem.c
+++ b/rts/posix/OSMem.c
@@ -318,11 +318,3 @@ void setExecutable (void *p, W_ len, rtsBool exec)
         barf("setExecutable: failed to protect 0x%p\n", p);
     }
 }
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/posix/OSThreads.c b/rts/posix/OSThreads.c
index f42b4e964c6b..e627babd98ee 100644
--- a/rts/posix/OSThreads.c
+++ b/rts/posix/OSThreads.c
@@ -353,11 +353,3 @@ KernelThreadId kernelThreadId (void)
     return 0;
 #endif
 }
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/posix/Select.c b/rts/posix/Select.c
index 29a1dd144d7c..38b082103636 100644
--- a/rts/posix/Select.c
+++ b/rts/posix/Select.c
@@ -423,11 +423,3 @@ awaitEvent(rtsBool wait)
 }
 
 #endif /* THREADED_RTS */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/posix/Select.h b/rts/posix/Select.h
index b63e45a1ae25..50d49d4ba5ab 100644
--- a/rts/posix/Select.h
+++ b/rts/posix/Select.h
@@ -15,11 +15,3 @@ typedef StgWord LowResTime;
 RTS_PRIVATE LowResTime getDelayTarget (HsInt us);
 
 #endif /* POSIX_SELECT_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/posix/Signals.c b/rts/posix/Signals.c
index ba4a8b75eaac..36a72a5c8e3c 100644
--- a/rts/posix/Signals.c
+++ b/rts/posix/Signals.c
@@ -694,11 +694,3 @@ resetDefaultHandlers(void)
 }
 
 #endif /* RTS_USER_SIGNALS */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/posix/Signals.h b/rts/posix/Signals.h
index 9500fceeb468..3100d3953731 100644
--- a/rts/posix/Signals.h
+++ b/rts/posix/Signals.h
@@ -31,11 +31,3 @@ extern StgInt *signal_handlers;
 #include "EndPrivate.h"
 
 #endif /* POSIX_SIGNALS_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/posix/TTY.c b/rts/posix/TTY.c
index 009ebd659251..2ce822a99acd 100644
--- a/rts/posix/TTY.c
+++ b/rts/posix/TTY.c
@@ -65,11 +65,3 @@ resetTerminalSettings (void)
     }
 #endif
 }
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/posix/TTY.h b/rts/posix/TTY.h
index fe3e55b5790d..7b8e16bb9281 100644
--- a/rts/posix/TTY.h
+++ b/rts/posix/TTY.h
@@ -12,11 +12,3 @@
 RTS_PRIVATE void resetTerminalSettings (void);
 
 #endif /* POSIX_TTY_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/sm/BlockAlloc.c b/rts/sm/BlockAlloc.c
index 681574b8e996..81cf0c43dcd5 100644
--- a/rts/sm/BlockAlloc.c
+++ b/rts/sm/BlockAlloc.c
@@ -894,11 +894,3 @@ reportUnmarkedBlocks (void)
 }
 
 #endif
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/sm/BlockAlloc.h b/rts/sm/BlockAlloc.h
index 42b064fed8d9..aebb71a91302 100644
--- a/rts/sm/BlockAlloc.h
+++ b/rts/sm/BlockAlloc.h
@@ -32,11 +32,3 @@ extern W_ hw_alloc_blocks;  // high-water allocated blocks
 #include "EndPrivate.h"
 
 #endif /* BLOCK_ALLOC_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/sm/Compact.c b/rts/sm/Compact.c
index e430d97002a2..b07a886eab16 100644
--- a/rts/sm/Compact.c
+++ b/rts/sm/Compact.c
@@ -1024,11 +1024,3 @@ compact(StgClosure *static_objects)
 	gen->n_old_blocks = blocks;
     }
 }
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/sm/Compact.h b/rts/sm/Compact.h
index 306138415a77..1ec915f49a3e 100644
--- a/rts/sm/Compact.h
+++ b/rts/sm/Compact.h
@@ -51,11 +51,3 @@ void compact (StgClosure *static_objects);
 #include "EndPrivate.h"
 
 #endif /* SM_COMPACT_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/sm/Evac.c b/rts/sm/Evac.c
index e90d3e085722..4a550cdde520 100644
--- a/rts/sm/Evac.c
+++ b/rts/sm/Evac.c
@@ -1108,11 +1108,3 @@ bale_out:
     unchain_thunk_selectors(prev_thunk_selector, *q);
     return;
 }
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/sm/Evac.h b/rts/sm/Evac.h
index 26d0c9eddb52..62d54eb7b9c2 100644
--- a/rts/sm/Evac.h
+++ b/rts/sm/Evac.h
@@ -41,11 +41,3 @@ extern W_ thunk_selector_depth;
 
 #endif /* SM_EVAC_H */
 
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/sm/GC.c b/rts/sm/GC.c
index 97463746a233..dabcd722d768 100644
--- a/rts/sm/GC.c
+++ b/rts/sm/GC.c
@@ -1770,11 +1770,3 @@ static void gcCAFs(void)
     debugTrace(DEBUG_gccafs, "%d CAFs live", i);
 }
 #endif
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/sm/GC.h b/rts/sm/GC.h
index 0f0b94e784cd..571aa0711054 100644
--- a/rts/sm/GC.h
+++ b/rts/sm/GC.h
@@ -64,11 +64,3 @@ void releaseGCThreads (Capability *cap);
 #include "EndPrivate.h"
 
 #endif /* SM_GC_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/sm/GCAux.c b/rts/sm/GCAux.c
index 48b18bc21b61..13316e4d2974 100644
--- a/rts/sm/GCAux.c
+++ b/rts/sm/GCAux.c
@@ -146,11 +146,3 @@ markCAFs (evac_fn evac, void *user)
         evac(user, &c->indirectee);
     }
 }
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/sm/GCTDecl.h b/rts/sm/GCTDecl.h
index 74b788012ccf..5602cb877197 100644
--- a/rts/sm/GCTDecl.h
+++ b/rts/sm/GCTDecl.h
@@ -144,11 +144,3 @@ extern __thread gc_thread* gct;
 #include "EndPrivate.h"
 
 #endif // SM_GCTDECL_H
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/sm/GCThread.h b/rts/sm/GCThread.h
index 8ed8afe055e1..84ce3f0239b5 100644
--- a/rts/sm/GCThread.h
+++ b/rts/sm/GCThread.h
@@ -210,11 +210,3 @@ extern ThreadLocalKey gctKey;
 
 #endif // SM_GCTHREAD_H
 
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/sm/GCUtils.c b/rts/sm/GCUtils.c
index 206ffa4ba9c2..84a620e8e717 100644
--- a/rts/sm/GCUtils.c
+++ b/rts/sm/GCUtils.c
@@ -343,11 +343,3 @@ printMutableList(bdescr *bd)
     debugBelch("\n");
 }
 #endif /* DEBUG */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/sm/GCUtils.h b/rts/sm/GCUtils.h
index 19750b5d0ccb..e77c98aa22ed 100644
--- a/rts/sm/GCUtils.h
+++ b/rts/sm/GCUtils.h
@@ -66,11 +66,3 @@ recordMutableGen_GC (StgClosure *p, nat gen_no)
 #include "EndPrivate.h"
 
 #endif /* SM_GCUTILS_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/sm/MBlock.c b/rts/sm/MBlock.c
index 2ed14ef8ab83..f626e1f43bd8 100644
--- a/rts/sm/MBlock.c
+++ b/rts/sm/MBlock.c
@@ -286,11 +286,3 @@ initMBlocks(void)
     memset(mblock_cache,0xff,sizeof(mblock_cache));
 #endif
 }
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/sm/MarkStack.h b/rts/sm/MarkStack.h
index 081a189bc624..f978a32563ab 100644
--- a/rts/sm/MarkStack.h
+++ b/rts/sm/MarkStack.h
@@ -69,11 +69,3 @@ mark_stack_empty(void)
 #include "EndPrivate.h"
 
 #endif /* SM_MARKSTACK_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/sm/MarkWeak.c b/rts/sm/MarkWeak.c
index 3efb22274f9e..c5a107c48054 100644
--- a/rts/sm/MarkWeak.c
+++ b/rts/sm/MarkWeak.c
@@ -416,11 +416,3 @@ markWeakPtrList ( void )
     }
 }
 
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/sm/MarkWeak.h b/rts/sm/MarkWeak.h
index ee94eebba61a..bd0231d74cf0 100644
--- a/rts/sm/MarkWeak.h
+++ b/rts/sm/MarkWeak.h
@@ -28,11 +28,3 @@ void    markWeakPtrList        ( void );
 #include "EndPrivate.h"
 
 #endif /* SM_MARKWEAK_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/sm/OSMem.h b/rts/sm/OSMem.h
index e5c97ecceabb..db704fc78bb3 100644
--- a/rts/sm/OSMem.h
+++ b/rts/sm/OSMem.h
@@ -23,11 +23,3 @@ void setExecutable (void *p, W_ len, rtsBool exec);
 #include "EndPrivate.h"
 
 #endif /* SM_OSMEM_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/sm/Sanity.c b/rts/sm/Sanity.c
index 07230afd4a83..c65333116477 100644
--- a/rts/sm/Sanity.c
+++ b/rts/sm/Sanity.c
@@ -931,11 +931,3 @@ memInventory (rtsBool show)
 
 
 #endif /* DEBUG */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/sm/Sanity.h b/rts/sm/Sanity.h
index 9a2d2697daf1..f302bc22b184 100644
--- a/rts/sm/Sanity.h
+++ b/rts/sm/Sanity.h
@@ -44,11 +44,3 @@ void checkBQ (StgTSO *bqe, StgClosure *closure);
 #endif /* DEBUG */
  
 #endif /* SANITY_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/sm/Scav.c b/rts/sm/Scav.c
index abebb3ca96fe..b9f8f1259bea 100644
--- a/rts/sm/Scav.c
+++ b/rts/sm/Scav.c
@@ -2070,11 +2070,3 @@ loop:
     if (work_to_do) goto loop;
 }
 
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/sm/Scav.h b/rts/sm/Scav.h
index c755f39a8eb7..725d27ccf1e4 100644
--- a/rts/sm/Scav.h
+++ b/rts/sm/Scav.h
@@ -30,11 +30,3 @@ void    scavenge_capability_mut_Lists1 (Capability *cap);
 
 #endif /* SM_SCAV_H */
 
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/sm/Storage.c b/rts/sm/Storage.c
index 5d0cbacec8d8..379d9da769ef 100644
--- a/rts/sm/Storage.c
+++ b/rts/sm/Storage.c
@@ -1352,11 +1352,3 @@ _bdescr (StgPtr p)
 }
 
 #endif
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/sm/Storage.h b/rts/sm/Storage.h
index 8218e3be07b2..00168760666b 100644
--- a/rts/sm/Storage.h
+++ b/rts/sm/Storage.h
@@ -141,11 +141,3 @@ extern StgIndStatic * revertible_caf_list;
 #include "EndPrivate.h"
 
 #endif /* SM_STORAGE_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/sm/Sweep.c b/rts/sm/Sweep.c
index 842ede243ed9..c927f300d722 100644
--- a/rts/sm/Sweep.c
+++ b/rts/sm/Sweep.c
@@ -84,11 +84,3 @@ sweep(generation *gen)
 
     ASSERT(countBlocks(gen->old_blocks) == gen->n_old_blocks);
 }
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/sm/Sweep.h b/rts/sm/Sweep.h
index 29b29f363853..b590faa80372 100644
--- a/rts/sm/Sweep.h
+++ b/rts/sm/Sweep.h
@@ -17,11 +17,3 @@
 RTS_PRIVATE void sweep(generation *gen);
 
 #endif /* SM_SWEEP_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/win32/AsyncIO.c b/rts/win32/AsyncIO.c
index 412f31b43ed7..887f642fddd2 100644
--- a/rts/win32/AsyncIO.c
+++ b/rts/win32/AsyncIO.c
@@ -381,11 +381,3 @@ resetAbandonRequestWait( void )
 }
 
 #endif /* !defined(THREADED_RTS) */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/win32/AsyncIO.h b/rts/win32/AsyncIO.h
index ee3178d078cb..67d5110a47ce 100644
--- a/rts/win32/AsyncIO.h
+++ b/rts/win32/AsyncIO.h
@@ -25,11 +25,3 @@ extern void abandonRequestWait(void);
 extern void resetAbandonRequestWait(void);
 
 #endif /* WIN32_ASYNCHIO_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/win32/AwaitEvent.c b/rts/win32/AwaitEvent.c
index eb254d981dc9..feae4c86ed28 100644
--- a/rts/win32/AwaitEvent.c
+++ b/rts/win32/AwaitEvent.c
@@ -55,11 +55,3 @@ awaitEvent(rtsBool wait)
       );
 }
 #endif
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/win32/ConsoleHandler.c b/rts/win32/ConsoleHandler.c
index c72a11230fb6..4bcbe1201bb9 100644
--- a/rts/win32/ConsoleHandler.c
+++ b/rts/win32/ConsoleHandler.c
@@ -349,11 +349,3 @@ rts_waitConsoleHandlerCompletion()
     return (WaitForSingleObject(hConsoleEvent, INFINITE) == WAIT_OBJECT_0);
 }
 #endif
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/win32/ConsoleHandler.h b/rts/win32/ConsoleHandler.h
index f9bb6568c3e1..0d09a67b94f8 100644
--- a/rts/win32/ConsoleHandler.h
+++ b/rts/win32/ConsoleHandler.h
@@ -62,11 +62,3 @@ extern int rts_waitConsoleHandlerCompletion(void);
 #endif /* THREADED_RTS */
 
 #endif /* Win32_CONSOLEHANDLER_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/win32/GetEnv.c b/rts/win32/GetEnv.c
index 7bcfe4a12b5e..fdcdd460f96e 100644
--- a/rts/win32/GetEnv.c
+++ b/rts/win32/GetEnv.c
@@ -60,11 +60,3 @@ void freeProgEnvv(int envc, char *envv[]) {
     FreeEnvironmentStringsA(envv[envc]);
     stgFree(envv);
 }
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/win32/GetTime.c b/rts/win32/GetTime.c
index 0af0306b54c5..514def6db22f 100644
--- a/rts/win32/GetTime.c
+++ b/rts/win32/GetTime.c
@@ -160,11 +160,3 @@ getPageFaults(void)
      that's stored in the registry. */
     return 0;
 }
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/win32/IOManager.c b/rts/win32/IOManager.c
index 7eaf4891da10..e4f575c394c2 100644
--- a/rts/win32/IOManager.c
+++ b/rts/win32/IOManager.c
@@ -606,11 +606,3 @@ abandonWorkRequest ( int reqID )
 }
 
 #endif
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/win32/IOManager.h b/rts/win32/IOManager.h
index 4ef5c9659b50..30fad49c9433 100644
--- a/rts/win32/IOManager.h
+++ b/rts/win32/IOManager.h
@@ -105,11 +105,3 @@ extern int AddProcRequest ( void*          proc,
 extern void abandonWorkRequest ( int reqID );
 
 #endif /* WIN32_IOMANAGER_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/win32/OSMem.c b/rts/win32/OSMem.c
index 0ee8d48d9556..d9700727a515 100644
--- a/rts/win32/OSMem.c
+++ b/rts/win32/OSMem.c
@@ -416,11 +416,3 @@ void setExecutable (void *p, W_ len, rtsBool exec)
         stg_exit(EXIT_FAILURE);
     }
 }
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/win32/OSThreads.c b/rts/win32/OSThreads.c
index 9f434d696fde..e336bd20cc09 100644
--- a/rts/win32/OSThreads.c
+++ b/rts/win32/OSThreads.c
@@ -321,11 +321,3 @@ KernelThreadId kernelThreadId (void)
     DWORD tid = GetCurrentThreadId();
     return tid;
 }
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/win32/ThrIOManager.c b/rts/win32/ThrIOManager.c
index 05741789cf31..3f50e538170a 100644
--- a/rts/win32/ThrIOManager.c
+++ b/rts/win32/ThrIOManager.c
@@ -157,11 +157,3 @@ ioManagerStart (void)
     }
 }
 #endif
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/win32/Ticker.c b/rts/win32/Ticker.c
index 72f941a81609..89902e568d69 100644
--- a/rts/win32/Ticker.c
+++ b/rts/win32/Ticker.c
@@ -79,11 +79,3 @@ exitTicker (rtsBool wait)
         timer_queue = NULL;
     }
 }
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/win32/WorkQueue.c b/rts/win32/WorkQueue.c
index b7793df32272..a995f45f6da0 100644
--- a/rts/win32/WorkQueue.c
+++ b/rts/win32/WorkQueue.c
@@ -223,11 +223,3 @@ queue_error( char* loc,
   fflush(stderr);
   return;
 }
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/win32/WorkQueue.h b/rts/win32/WorkQueue.h
index 3875915c2e52..eb0b601df3e4 100644
--- a/rts/win32/WorkQueue.h
+++ b/rts/win32/WorkQueue.h
@@ -36,11 +36,3 @@ extern BOOL       FetchWork          ( WorkQueue* pq, void** ppw );
 extern int        SubmitWork         ( WorkQueue* pq, void*   pw );
 
 #endif /* WIN32_WORKQUEUE_H */
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/win32/seh_excn.c b/rts/win32/seh_excn.c
index 4934a7def0e2..da5f64d81206 100644
--- a/rts/win32/seh_excn.c
+++ b/rts/win32/seh_excn.c
@@ -43,11 +43,3 @@ catchDivZero(struct _EXCEPTION_RECORD* rec,
 #endif
 #endif
 
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
diff --git a/rts/win32/seh_excn.h b/rts/win32/seh_excn.h
index 90a0ddcda09a..8829e840b7aa 100644
--- a/rts/win32/seh_excn.h
+++ b/rts/win32/seh_excn.h
@@ -90,11 +90,3 @@ catchDivZero(struct _EXCEPTION_RECORD*,
 
 #endif /* WIN32_SEH_EXCN_H */
 
-
-// Local Variables:
-// mode: C
-// fill-column: 80
-// indent-tabs-mode: nil
-// c-basic-offset: 4
-// buffer-file-coding-system: utf-8-unix
-// End:
-- 
GitLab