Commit 7371d7e2 authored by Simon Marlow's avatar Simon Marlow

Revert "rts: add Emacs 'Local Variables' to every .c file"

This reverts commit 39b5c1cb.
parent aeb9c936
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
#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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -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:
......@@ -25,11 +25,3 @@ void freeRtsArgs (void);
#include "EndPrivate.h"