diff options
author | Austin Seipp <austin@well-typed.com> | 2014-07-21 23:08:31 -0500 |
---|---|---|
committer | Austin Seipp <austin@well-typed.com> | 2014-07-28 09:29:17 -0500 |
commit | 39b5c1cbd8950755de400933cecca7b8deb4ffcd (patch) | |
tree | 8174e56815d783286f2ac0901a61a260bde60acd | |
parent | 952f622c0cc91b1c904bfc359a864f39503aa50d (diff) | |
download | haskell-39b5c1cbd8950755de400933cecca7b8deb4ffcd.tar.gz |
rts: add Emacs 'Local Variables' to every .c file
This will hopefully help ensure some basic consistency in the forward by
overriding buffer variables. In particular, it sets the wrap length, the
offset to 4, and turns off tabs.
Signed-off-by: Austin Seipp <austin@well-typed.com>
161 files changed, 1288 insertions, 0 deletions
diff --git a/rts/Adjustor.c b/rts/Adjustor.c index 83d5a73cf5..3c65da6784 100644 --- a/rts/Adjustor.c +++ b/rts/Adjustor.c @@ -1321,3 +1321,11 @@ 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 1c0b1623d9..4df567feee 100644 --- a/rts/Apply.h +++ b/rts/Apply.h @@ -24,3 +24,11 @@ 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 813e60ebf6..92e479b89d 100644 --- a/rts/Arena.c +++ b/rts/Arena.c @@ -117,3 +117,11 @@ 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 086a0200ad..ac62c6cf38 100644 --- a/rts/Arena.h +++ b/rts/Arena.h @@ -23,3 +23,11 @@ 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 f64bc6d894..ee756be02b 100644 --- a/rts/AutoApply.h +++ b/rts/AutoApply.h @@ -89,3 +89,11 @@ #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 ecc13b8ff2..e80d351ab4 100644 --- a/rts/AwaitEvent.h +++ b/rts/AwaitEvent.h @@ -22,3 +22,11 @@ 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 6471b92a40..f7b7d198f0 100644 --- a/rts/BeginPrivate.h +++ b/rts/BeginPrivate.h @@ -8,3 +8,11 @@ #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 805a35be9f..29c5270416 100644 --- a/rts/Capability.c +++ b/rts/Capability.c @@ -1075,3 +1075,11 @@ rtsBool checkSparkCountInvariant (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/Capability.h b/rts/Capability.h index d36d50293a..c7dceefe9f 100644 --- a/rts/Capability.h +++ b/rts/Capability.h @@ -426,3 +426,11 @@ 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 98f184b84c..170e8861f0 100644 --- a/rts/CheckUnload.c +++ b/rts/CheckUnload.c @@ -318,3 +318,11 @@ 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 7d2e5b1321..9c2bac89f1 100644 --- a/rts/CheckUnload.h +++ b/rts/CheckUnload.h @@ -18,3 +18,11 @@ 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 c43437dc04..def33eb9a9 100644 --- a/rts/ClosureFlags.c +++ b/rts/ClosureFlags.c @@ -91,3 +91,11 @@ 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 44f487da89..36cd7b5595 100644 --- a/rts/Disassembler.c +++ b/rts/Disassembler.c @@ -316,3 +316,11 @@ 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 c6f71564c4..277361bc6b 100644 --- a/rts/Disassembler.h +++ b/rts/Disassembler.h @@ -17,3 +17,11 @@ 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 4cfb68f0ba..61d56fb3e1 100644 --- a/rts/EndPrivate.h +++ b/rts/EndPrivate.h @@ -1,3 +1,11 @@ #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 cd2dc1d1dc..8a8dc86b28 100644 --- a/rts/FileLock.c +++ b/rts/FileLock.c @@ -143,3 +143,11 @@ 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 72ab170437..fe9c52a574 100644 --- a/rts/FileLock.h +++ b/rts/FileLock.h @@ -13,3 +13,11 @@ 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 5e3d0cf184..497fcc9712 100644 --- a/rts/GetEnv.h +++ b/rts/GetEnv.h @@ -21,3 +21,11 @@ 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 32c3754829..8e293a8d22 100644 --- a/rts/GetTime.h +++ b/rts/GetTime.h @@ -29,3 +29,11 @@ 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 2e4b99474f..d839e44f4a 100644 --- a/rts/Globals.c +++ b/rts/Globals.c @@ -140,3 +140,11 @@ 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 395d240e2a..ee62f2f7c1 100644 --- a/rts/Globals.h +++ b/rts/Globals.h @@ -16,3 +16,11 @@ 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 b91d70c219..1c5897cb72 100644 --- a/rts/Hash.c +++ b/rts/Hash.c @@ -397,3 +397,11 @@ 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 d22caba555..167000c336 100644 --- a/rts/Hash.h +++ b/rts/Hash.h @@ -52,3 +52,11 @@ 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: @@ -404,3 +404,11 @@ 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 8fae246111..d1c0964d7a 100644 --- a/rts/HsFFI.c +++ b/rts/HsFFI.c @@ -66,3 +66,11 @@ 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 e6f29b6e1b..3810e4d5a2 100644 --- a/rts/Inlines.c +++ b/rts/Inlines.c @@ -7,3 +7,11 @@ #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 f4fe816d28..f3a5c783cd 100644 --- a/rts/Interpreter.c +++ b/rts/Interpreter.c @@ -1516,3 +1516,11 @@ 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 fd4f7b98c3..b95c61af74 100644 --- a/rts/Interpreter.h +++ b/rts/Interpreter.h @@ -12,3 +12,11 @@ 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 4530969123..677263efbe 100644 --- a/rts/LdvProfile.c +++ b/rts/LdvProfile.c @@ -249,3 +249,11 @@ 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 b4418046ba..8f633225b9 100644 --- a/rts/LdvProfile.h +++ b/rts/LdvProfile.h @@ -39,3 +39,11 @@ 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 ad96d74b6f..480dc2a967 100644 --- a/rts/Linker.c +++ b/rts/Linker.c @@ -7163,3 +7163,11 @@ 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 e1942bc8ae..1a203ded7e 100644 --- a/rts/LinkerInternals.h +++ b/rts/LinkerInternals.h @@ -149,3 +149,11 @@ 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 5a67bf3e8c..2f03ae60c0 100644 --- a/rts/Messages.c +++ b/rts/Messages.c @@ -344,3 +344,11 @@ 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 4121364b21..c965511abf 100644 --- a/rts/Messages.h +++ b/rts/Messages.h @@ -28,3 +28,11 @@ 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 a28d2bc00e..949e72b041 100644 --- a/rts/OldARMAtomic.c +++ b/rts/OldARMAtomic.c @@ -53,3 +53,11 @@ 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 a36157f4c1..39b9ee75f1 100644 --- a/rts/Papi.c +++ b/rts/Papi.c @@ -394,3 +394,11 @@ 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 97a9649f2d..1aa1b31381 100644 --- a/rts/Papi.h +++ b/rts/Papi.h @@ -34,3 +34,11 @@ 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 6659cfef91..7803dd2372 100644 --- a/rts/PosixSource.h +++ b/rts/PosixSource.h @@ -40,3 +40,11 @@ #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 0c54148ba2..adbb5535bf 100644 --- a/rts/Prelude.h +++ b/rts/Prelude.h @@ -144,3 +144,11 @@ 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 b7125d9980..6f37831512 100644 --- a/rts/Printer.c +++ b/rts/Printer.c @@ -1170,3 +1170,11 @@ 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 0dae896414..2a35f7a361 100644 --- a/rts/Printer.h +++ b/rts/Printer.h @@ -39,3 +39,11 @@ 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 9079c2be60..5b7cf30231 100644 --- a/rts/ProfHeap.c +++ b/rts/ProfHeap.c @@ -1148,3 +1148,11 @@ 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 b3bed903b5..4aa3bcd057 100644 --- a/rts/ProfHeap.h +++ b/rts/ProfHeap.h @@ -19,3 +19,11 @@ 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 53f64a7280..41c2aa5f8a 100644 --- a/rts/Profiling.c +++ b/rts/Profiling.c @@ -1145,3 +1145,11 @@ 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 8c365220fb..6d5950c62b 100644 --- a/rts/Profiling.h +++ b/rts/Profiling.h @@ -46,3 +46,11 @@ 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 6458f6e095..d0e6aa79d5 100644 --- a/rts/Proftimer.c +++ b/rts/Proftimer.c @@ -89,3 +89,11 @@ 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 4bb063fbbc..b8f2aa80c5 100644 --- a/rts/Proftimer.h +++ b/rts/Proftimer.h @@ -22,3 +22,11 @@ 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 a5440e40ad..7da3e6452d 100644 --- a/rts/RaiseAsync.c +++ b/rts/RaiseAsync.c @@ -1051,3 +1051,11 @@ 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 1f61b8c72d..fabdc78cee 100644 --- a/rts/RaiseAsync.h +++ b/rts/RaiseAsync.h @@ -74,3 +74,11 @@ 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 bfc96247aa..d0e95d8ebb 100644 --- a/rts/RetainerProfile.c +++ b/rts/RetainerProfile.c @@ -2286,3 +2286,11 @@ 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 d92563ffbb..d24f99428c 100644 --- a/rts/RetainerProfile.h +++ b/rts/RetainerProfile.h @@ -51,3 +51,11 @@ 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 1905866e8a..075dd7560f 100644 --- a/rts/RetainerSet.c +++ b/rts/RetainerSet.c @@ -491,3 +491,11 @@ 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 086629d4ab..5f24d84063 100644 --- a/rts/RetainerSet.h +++ b/rts/RetainerSet.h @@ -203,3 +203,11 @@ 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 f01a0efee8..7062306c74 100644 --- a/rts/RtsAPI.c +++ b/rts/RtsAPI.c @@ -620,3 +620,11 @@ 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 b3b10f0295..6bb3db1bd6 100644 --- a/rts/RtsDllMain.c +++ b/rts/RtsDllMain.c @@ -41,3 +41,11 @@ 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 4b9480dd85..5147962780 100644 --- a/rts/RtsDllMain.h +++ b/rts/RtsDllMain.h @@ -13,3 +13,11 @@ 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 44c05cec3b..9c353a1133 100644 --- a/rts/RtsFlags.c +++ b/rts/RtsFlags.c @@ -1859,3 +1859,11 @@ 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 b3627e0e48..0e212b4ca9 100644 --- a/rts/RtsFlags.h +++ b/rts/RtsFlags.h @@ -25,3 +25,11 @@ 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 df637169f8..ea45d6f050 100644 --- a/rts/RtsMain.c +++ b/rts/RtsMain.c @@ -117,3 +117,11 @@ 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 6e75abc8a5..83758175e2 100644 --- a/rts/RtsMessages.c +++ b/rts/RtsMessages.c @@ -283,3 +283,11 @@ 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 be21765dd6..a319713dbe 100644 --- a/rts/RtsSignals.h +++ b/rts/RtsSignals.h @@ -65,3 +65,11 @@ 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 8e7e11dd26..36ac26928d 100644 --- a/rts/RtsStartup.c +++ b/rts/RtsStartup.c @@ -543,3 +543,11 @@ 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 185f1e8bdd..811dcf1b4c 100644 --- a/rts/RtsUtils.c +++ b/rts/RtsUtils.c @@ -329,3 +329,11 @@ 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 5d825a2118..88b0af285c 100644 --- a/rts/RtsUtils.h +++ b/rts/RtsUtils.h @@ -48,3 +48,11 @@ 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: @@ -1696,3 +1696,11 @@ 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: @@ -221,3 +221,11 @@ 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 7f8ced6f3e..140221bd7d 100644 --- a/rts/Schedule.c +++ b/rts/Schedule.c @@ -2869,3 +2869,11 @@ 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 015cc1cefc..f788aec9ce 100644 --- a/rts/Schedule.h +++ b/rts/Schedule.h @@ -259,3 +259,11 @@ 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 4241656795..d54a1f1aaa 100644 --- a/rts/Sparks.c +++ b/rts/Sparks.c @@ -310,3 +310,11 @@ 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 e381dd540f..6bc28795d8 100644 --- a/rts/Sparks.h +++ b/rts/Sparks.h @@ -106,3 +106,11 @@ 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 431b7c66c1..229d707a83 100644 --- a/rts/Stable.c +++ b/rts/Stable.c @@ -549,3 +549,11 @@ 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 4786d477f3..0a1cc0dd2f 100644 --- a/rts/Stable.h +++ b/rts/Stable.h @@ -52,3 +52,11 @@ 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 894e9d2c79..7acac707ba 100644 --- a/rts/Stats.c +++ b/rts/Stats.c @@ -1004,3 +1004,11 @@ 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 925920f108..0bbd7afb4a 100644 --- a/rts/Stats.h +++ b/rts/Stats.h @@ -75,3 +75,11 @@ 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 f649dbe9fb..244cdb428b 100644 --- a/rts/StgCRun.c +++ b/rts/StgCRun.c @@ -815,3 +815,11 @@ 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 3b80d6f388..63fe52ec80 100644 --- a/rts/StgPrimFloat.c +++ b/rts/StgPrimFloat.c @@ -200,3 +200,11 @@ __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 edd7b472b7..fefe8c9b7a 100644 --- a/rts/StgPrimFloat.h +++ b/rts/StgPrimFloat.h @@ -21,3 +21,11 @@ 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 3839793fc3..0ce72935d6 100644 --- a/rts/StgRun.h +++ b/rts/StgRun.h @@ -16,3 +16,11 @@ 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 842ad84a89..0421d8b785 100644 --- a/rts/Task.c +++ b/rts/Task.c @@ -516,3 +516,11 @@ 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 8dab0a2fcf..7019499fee 100644 --- a/rts/Task.h +++ b/rts/Task.h @@ -329,3 +329,11 @@ 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 981a5d9771..5d891a005e 100644 --- a/rts/ThreadLabels.c +++ b/rts/ThreadLabels.c @@ -82,3 +82,11 @@ 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 742e77ae58..ee482312ff 100644 --- a/rts/ThreadLabels.h +++ b/rts/ThreadLabels.h @@ -25,3 +25,11 @@ 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 b757a0063c..bf7def4583 100644 --- a/rts/ThreadPaused.c +++ b/rts/ThreadPaused.c @@ -377,3 +377,11 @@ 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 197b8d3257..16cca35fea 100644 --- a/rts/ThreadPaused.h +++ b/rts/ThreadPaused.h @@ -12,3 +12,11 @@ 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 af4353fc49..0dee47090f 100644 --- a/rts/Threads.c +++ b/rts/Threads.c @@ -880,3 +880,11 @@ 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 6d26610334..a1ff0803c4 100644 --- a/rts/Threads.h +++ b/rts/Threads.h @@ -52,3 +52,11 @@ 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 685a79e5d2..2958211ca1 100644 --- a/rts/Ticker.h +++ b/rts/Ticker.h @@ -21,3 +21,11 @@ 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 4547c0b249..b1581f01f8 100644 --- a/rts/Ticky.c +++ b/rts/Ticky.c @@ -619,3 +619,11 @@ 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 a32a7a6542..e666a9b2da 100644 --- a/rts/Ticky.h +++ b/rts/Ticky.h @@ -12,3 +12,11 @@ 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 b7762f985c..c2c4caa035 100644 --- a/rts/Timer.c +++ b/rts/Timer.c @@ -133,3 +133,11 @@ 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 b03ef0680f..8bd7da4d54 100644 --- a/rts/Timer.h +++ b/rts/Timer.h @@ -13,3 +13,11 @@ 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 21901891cb..4671919896 100644 --- a/rts/Trace.c +++ b/rts/Trace.c @@ -805,3 +805,11 @@ 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 31aefcb58d..0a207041fa 100644 --- a/rts/Trace.h +++ b/rts/Trace.h @@ -880,3 +880,11 @@ 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 1bd742a746..36280b5b12 100644 --- a/rts/Updates.h +++ b/rts/Updates.h @@ -91,3 +91,11 @@ 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 19f2866c08..ef8c22072b 100644 --- a/rts/WSDeque.c +++ b/rts/WSDeque.c @@ -293,3 +293,11 @@ 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 4993d5ac61..15e925a24d 100644 --- a/rts/WSDeque.h +++ b/rts/WSDeque.h @@ -124,3 +124,11 @@ 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 98ac7603b7..5ee38cca70 100644 --- a/rts/Weak.c +++ b/rts/Weak.c @@ -144,3 +144,11 @@ 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 fbdf18a861..8121099116 100644 --- a/rts/Weak.h +++ b/rts/Weak.h @@ -25,3 +25,11 @@ 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 0080da630f..a5a100e8d4 100644 --- a/rts/eventlog/EventLog.c +++ b/rts/eventlog/EventLog.c @@ -1254,3 +1254,11 @@ 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 85370e9843..ff5e116d6b 100644 --- a/rts/eventlog/EventLog.h +++ b/rts/eventlog/EventLog.h @@ -170,3 +170,11 @@ 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 ce1666f06d..18cc76c8f9 100644 --- a/rts/hooks/FlagDefaults.c +++ b/rts/hooks/FlagDefaults.c @@ -19,3 +19,11 @@ 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 6c3a1a0faf..2c63f88472 100644 --- a/rts/hooks/MallocFail.c +++ b/rts/hooks/MallocFail.c @@ -15,3 +15,11 @@ 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 30764acba2..d99cb83ac3 100644 --- a/rts/hooks/OnExit.c +++ b/rts/hooks/OnExit.c @@ -18,3 +18,11 @@ 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 ec4697b547..8998b4d176 100644 --- a/rts/hooks/OutOfHeap.c +++ b/rts/hooks/OutOfHeap.c @@ -22,3 +22,11 @@ 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 407293902d..50995b8430 100644 --- a/rts/hooks/StackOverflow.c +++ b/rts/hooks/StackOverflow.c @@ -15,3 +15,11 @@ 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 2c71d7a75d..16d9252460 100644 --- a/rts/posix/Clock.h +++ b/rts/posix/Clock.h @@ -33,3 +33,11 @@ #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 e3f731cfed..de6d5cd989 100644 --- a/rts/posix/GetEnv.c +++ b/rts/posix/GetEnv.c @@ -42,3 +42,11 @@ 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 3e0e1cabfc..d44fc9a566 100644 --- a/rts/posix/GetTime.c +++ b/rts/posix/GetTime.c @@ -247,3 +247,11 @@ 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 57c7741cc7..f8b9f66d4d 100644 --- a/rts/posix/Itimer.c +++ b/rts/posix/Itimer.c @@ -280,3 +280,11 @@ 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 7996da7c94..3ca2f5b097 100644 --- a/rts/posix/Itimer.h +++ b/rts/posix/Itimer.h @@ -10,3 +10,11 @@ #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 8a6a85e3ad..eb51e98e72 100644 --- a/rts/posix/OSMem.c +++ b/rts/posix/OSMem.c @@ -318,3 +318,11 @@ 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 e627babd98..f42b4e964c 100644 --- a/rts/posix/OSThreads.c +++ b/rts/posix/OSThreads.c @@ -353,3 +353,11 @@ 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 38b0821036..29a1dd144d 100644 --- a/rts/posix/Select.c +++ b/rts/posix/Select.c @@ -423,3 +423,11 @@ 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 50d49d4ba5..b63e45a1ae 100644 --- a/rts/posix/Select.h +++ b/rts/posix/Select.h @@ -15,3 +15,11 @@ 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 f017c096ee..d5129f0996 100644 --- a/rts/posix/Signals.c +++ b/rts/posix/Signals.c @@ -674,3 +674,11 @@ 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 3100d39537..9500fceeb4 100644 --- a/rts/posix/Signals.h +++ b/rts/posix/Signals.h @@ -31,3 +31,11 @@ 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 2ce822a99a..009ebd6592 100644 --- a/rts/posix/TTY.c +++ b/rts/posix/TTY.c @@ -65,3 +65,11 @@ 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 7b8e16bb92..fe3e55b579 100644 --- a/rts/posix/TTY.h +++ b/rts/posix/TTY.h @@ -12,3 +12,11 @@ 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 f06855e63a..55310fdf9f 100644 --- a/rts/sm/BlockAlloc.c +++ b/rts/sm/BlockAlloc.c @@ -894,3 +894,11 @@ 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 aebb71a913..42b064fed8 100644 --- a/rts/sm/BlockAlloc.h +++ b/rts/sm/BlockAlloc.h @@ -32,3 +32,11 @@ 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 b07a886eab..e430d97002 100644 --- a/rts/sm/Compact.c +++ b/rts/sm/Compact.c @@ -1024,3 +1024,11 @@ 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 1ec915f49a..306138415a 100644 --- a/rts/sm/Compact.h +++ b/rts/sm/Compact.h @@ -51,3 +51,11 @@ 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 4a550cdde5..e90d3e0857 100644 --- a/rts/sm/Evac.c +++ b/rts/sm/Evac.c @@ -1108,3 +1108,11 @@ 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 62d54eb7b9..26d0c9eddb 100644 --- a/rts/sm/Evac.h +++ b/rts/sm/Evac.h @@ -41,3 +41,11 @@ 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 dabcd722d7..97463746a2 100644 --- a/rts/sm/GC.c +++ b/rts/sm/GC.c @@ -1770,3 +1770,11 @@ 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 571aa07110..0f0b94e784 100644 --- a/rts/sm/GC.h +++ b/rts/sm/GC.h @@ -64,3 +64,11 @@ 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 10df9dd84b..145ff630d2 100644 --- a/rts/sm/GCAux.c +++ b/rts/sm/GCAux.c @@ -146,3 +146,11 @@ 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 5602cb8771..74b788012c 100644 --- a/rts/sm/GCTDecl.h +++ b/rts/sm/GCTDecl.h @@ -144,3 +144,11 @@ 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 84ce3f0239..8ed8afe055 100644 --- a/rts/sm/GCThread.h +++ b/rts/sm/GCThread.h @@ -210,3 +210,11 @@ 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 11345e92c8..078da12d94 100644 --- a/rts/sm/GCUtils.c +++ b/rts/sm/GCUtils.c @@ -343,3 +343,11 @@ 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 1d217adbdd..de5aefca6a 100644 --- a/rts/sm/GCUtils.h +++ b/rts/sm/GCUtils.h @@ -66,3 +66,11 @@ 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 6bc4049959..20b301552c 100644 --- a/rts/sm/MBlock.c +++ b/rts/sm/MBlock.c @@ -286,3 +286,11 @@ 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 f978a32563..081a189bc6 100644 --- a/rts/sm/MarkStack.h +++ b/rts/sm/MarkStack.h @@ -69,3 +69,11 @@ 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 0324f3b4b9..b8ec4532b4 100644 --- a/rts/sm/MarkWeak.c +++ b/rts/sm/MarkWeak.c @@ -416,3 +416,11 @@ 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 bd0231d74c..ee94eebba6 100644 --- a/rts/sm/MarkWeak.h +++ b/rts/sm/MarkWeak.h @@ -28,3 +28,11 @@ 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 db704fc78b..e5c97eccea 100644 --- a/rts/sm/OSMem.h +++ b/rts/sm/OSMem.h @@ -23,3 +23,11 @@ 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 c653331164..07230afd4a 100644 --- a/rts/sm/Sanity.c +++ b/rts/sm/Sanity.c @@ -931,3 +931,11 @@ 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 f302bc22b1..9a2d2697da 100644 --- a/rts/sm/Sanity.h +++ b/rts/sm/Sanity.h @@ -44,3 +44,11 @@ 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 b9f8f1259b..abebb3ca96 100644 --- a/rts/sm/Scav.c +++ b/rts/sm/Scav.c @@ -2070,3 +2070,11 @@ 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 725d27ccf1..c755f39a8e 100644 --- a/rts/sm/Scav.h +++ b/rts/sm/Scav.h @@ -30,3 +30,11 @@ 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 379d9da769..5d0cbacec8 100644 --- a/rts/sm/Storage.c +++ b/rts/sm/Storage.c @@ -1352,3 +1352,11 @@ _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 e433c2b8fe..c1a92aca35 100644 --- a/rts/sm/Storage.h +++ b/rts/sm/Storage.h @@ -141,3 +141,11 @@ 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 c927f300d7..842ede243e 100644 --- a/rts/sm/Sweep.c +++ b/rts/sm/Sweep.c @@ -84,3 +84,11 @@ 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 b590faa803..29b29f3638 100644 --- a/rts/sm/Sweep.h +++ b/rts/sm/Sweep.h @@ -17,3 +17,11 @@ 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 29cd07f5fd..265f93ced7 100644 --- a/rts/win32/AsyncIO.c +++ b/rts/win32/AsyncIO.c @@ -381,3 +381,11 @@ 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 67d5110a47..ee3178d078 100644 --- a/rts/win32/AsyncIO.h +++ b/rts/win32/AsyncIO.h @@ -25,3 +25,11 @@ 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 feae4c86ed..eb254d981d 100644 --- a/rts/win32/AwaitEvent.c +++ b/rts/win32/AwaitEvent.c @@ -55,3 +55,11 @@ 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 4bcbe1201b..c72a11230f 100644 --- a/rts/win32/ConsoleHandler.c +++ b/rts/win32/ConsoleHandler.c @@ -349,3 +349,11 @@ 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 0d09a67b94..f9bb6568c3 100644 --- a/rts/win32/ConsoleHandler.h +++ b/rts/win32/ConsoleHandler.h @@ -62,3 +62,11 @@ 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 fdcdd460f9..7bcfe4a12b 100644 --- a/rts/win32/GetEnv.c +++ b/rts/win32/GetEnv.c @@ -60,3 +60,11 @@ 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 514def6db2..0af0306b54 100644 --- a/rts/win32/GetTime.c +++ b/rts/win32/GetTime.c @@ -160,3 +160,11 @@ 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 bd7af89e80..2427687136 100644 --- a/rts/win32/IOManager.c +++ b/rts/win32/IOManager.c @@ -603,3 +603,11 @@ 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 30fad49c94..4ef5c9659b 100644 --- a/rts/win32/IOManager.h +++ b/rts/win32/IOManager.h @@ -105,3 +105,11 @@ 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 d9700727a5..0ee8d48d95 100644 --- a/rts/win32/OSMem.c +++ b/rts/win32/OSMem.c @@ -416,3 +416,11 @@ 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 78d6c73bdf..d246628be1 100644 --- a/rts/win32/OSThreads.c +++ b/rts/win32/OSThreads.c @@ -321,3 +321,11 @@ 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 3f50e53817..05741789cf 100644 --- a/rts/win32/ThrIOManager.c +++ b/rts/win32/ThrIOManager.c @@ -157,3 +157,11 @@ 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 89902e568d..72f941a816 100644 --- a/rts/win32/Ticker.c +++ b/rts/win32/Ticker.c @@ -79,3 +79,11 @@ 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 a995f45f6d..b7793df322 100644 --- a/rts/win32/WorkQueue.c +++ b/rts/win32/WorkQueue.c @@ -223,3 +223,11 @@ 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 eb0b601df3..3875915c2e 100644 --- a/rts/win32/WorkQueue.h +++ b/rts/win32/WorkQueue.h @@ -36,3 +36,11 @@ 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 da5f64d812..4934a7def0 100644 --- a/rts/win32/seh_excn.c +++ b/rts/win32/seh_excn.c @@ -43,3 +43,11 @@ 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 8829e840b7..90a0ddcda0 100644 --- a/rts/win32/seh_excn.h +++ b/rts/win32/seh_excn.h @@ -90,3 +90,11 @@ 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: |