From da5cef0ab476edf496f7591ab511d09336dd197f Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 27 Oct 2010 13:13:11 +0100 Subject: add modelines to .h and .c files as well --- idlc/source/preproc/cpp.c | 3 +++ idlc/source/preproc/cpp.h | 2 ++ idlc/source/preproc/eval.c | 3 +++ idlc/source/preproc/include.c | 2 ++ idlc/source/preproc/lex.c | 3 +++ idlc/source/preproc/macro.c | 3 +++ idlc/source/preproc/nlist.c | 3 +++ idlc/source/preproc/tokens.c | 3 +++ idlc/source/preproc/unix.c | 3 +++ 9 files changed, 25 insertions(+) (limited to 'idlc') diff --git a/idlc/source/preproc/cpp.c b/idlc/source/preproc/cpp.c index 59e0b615cae9..e56ae306ac11 100644 --- a/idlc/source/preproc/cpp.c +++ b/idlc/source/preproc/cpp.c @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -496,3 +497,5 @@ void nerrs += 1; fflush(stderr); } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/idlc/source/preproc/cpp.h b/idlc/source/preproc/cpp.h index 4b8645b2d34e..b40647cd38b7 100644 --- a/idlc/source/preproc/cpp.h +++ b/idlc/source/preproc/cpp.h @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -211,3 +212,4 @@ extern Includelist includelist[NINCLUDE]; extern Wraplist wraplist[NINCLUDE]; extern char wd[]; +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/idlc/source/preproc/eval.c b/idlc/source/preproc/eval.c index cd3adc2204c7..292cc95336bc 100644 --- a/idlc/source/preproc/eval.c +++ b/idlc/source/preproc/eval.c @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -788,3 +789,5 @@ int i = -1; return i; } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/idlc/source/preproc/include.c b/idlc/source/preproc/include.c index 88a619905b64..b56622b571ee 100644 --- a/idlc/source/preproc/include.c +++ b/idlc/source/preproc/include.c @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -254,3 +255,4 @@ void } } +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/idlc/source/preproc/lex.c b/idlc/source/preproc/lex.c index fd6d00792984..4b565b9c133f 100644 --- a/idlc/source/preproc/lex.c +++ b/idlc/source/preproc/lex.c @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -693,3 +694,5 @@ void cursource = s->next; dofree(s); } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/idlc/source/preproc/macro.c b/idlc/source/preproc/macro.c index 7f0697994c4c..be9f30abf085 100644 --- a/idlc/source/preproc/macro.c +++ b/idlc/source/preproc/macro.c @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -698,3 +699,5 @@ void tp->len = op - outptr; outptr = op; } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/idlc/source/preproc/nlist.c b/idlc/source/preproc/nlist.c index f41313c22aac..d3256fa0fce8 100644 --- a/idlc/source/preproc/nlist.c +++ b/idlc/source/preproc/nlist.c @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -141,3 +142,5 @@ Nlist * } return NULL; } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/idlc/source/preproc/tokens.c b/idlc/source/preproc/tokens.c index d9ac8e6261e3..e119fc5cc2b8 100644 --- a/idlc/source/preproc/tokens.c +++ b/idlc/source/preproc/tokens.c @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -532,3 +533,5 @@ uchar * ns[l + o] = '\0'; return (uchar *) strncpy((char *) ns + o, (char *) s, l) - o; } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/idlc/source/preproc/unix.c b/idlc/source/preproc/unix.c index 4997e317e697..57b49a74128a 100644 --- a/idlc/source/preproc/unix.c +++ b/idlc/source/preproc/unix.c @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -245,3 +246,5 @@ void * } #endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit