diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-10-27 12:38:25 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-10-28 15:47:03 +0100 |
commit | fa4882b94f4153c90538d7566e48aceda96bd72a (patch) | |
tree | 601f73919688d59241769e670c4f7ad021f7f44e /soltools/cpp | |
parent | 153fc2b046f01c16bc9d3f28b2cc3e60ecb3b6b2 (diff) |
add modelines to .h files as well
Diffstat (limited to 'soltools/cpp')
-rw-r--r-- | soltools/cpp/_cpp.c | 3 | ||||
-rw-r--r-- | soltools/cpp/_eval.c | 3 | ||||
-rw-r--r-- | soltools/cpp/_getopt.c | 3 | ||||
-rw-r--r-- | soltools/cpp/_include.c | 2 | ||||
-rw-r--r-- | soltools/cpp/_lex.c | 3 | ||||
-rw-r--r-- | soltools/cpp/_macro.c | 2 | ||||
-rw-r--r-- | soltools/cpp/_mcrvalid.c | 2 | ||||
-rw-r--r-- | soltools/cpp/_nlist.c | 3 | ||||
-rw-r--r-- | soltools/cpp/_tokens.c | 3 | ||||
-rw-r--r-- | soltools/cpp/_unix.c | 2 | ||||
-rw-r--r-- | soltools/cpp/cpp.h | 2 |
11 files changed, 28 insertions, 0 deletions
diff --git a/soltools/cpp/_cpp.c b/soltools/cpp/_cpp.c index 134bf0075cf2..d639c684d8f3 100644 --- a/soltools/cpp/_cpp.c +++ b/soltools/cpp/_cpp.c @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -381,3 +382,5 @@ void nerrs = 1; fflush(stderr); } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/soltools/cpp/_eval.c b/soltools/cpp/_eval.c index a652e488d78f..46a990be71e1 100644 --- a/soltools/cpp/_eval.c +++ b/soltools/cpp/_eval.c @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ #include <stdlib.h> #include <string.h> #include "cpp.h" @@ -764,3 +765,5 @@ int i = -1; return i; } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/soltools/cpp/_getopt.c b/soltools/cpp/_getopt.c index 589638936efb..65c5d5179a20 100644 --- a/soltools/cpp/_getopt.c +++ b/soltools/cpp/_getopt.c @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ #include <stdio.h> #include <string.h> @@ -69,3 +70,5 @@ int } return c; } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/soltools/cpp/_include.c b/soltools/cpp/_include.c index da2bf03c8ff4..b67f4a9a61f2 100644 --- a/soltools/cpp/_include.c +++ b/soltools/cpp/_include.c @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ #if (defined(_WIN32) || defined(_MSDOS) || defined(__IBMC__)) # include <io.h> #else @@ -233,3 +234,4 @@ void } } +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/soltools/cpp/_lex.c b/soltools/cpp/_lex.c index 2ff188ff2264..ffbc54a26915 100644 --- a/soltools/cpp/_lex.c +++ b/soltools/cpp/_lex.c @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -686,3 +687,5 @@ void cursource = s->next; dofree(s); } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/soltools/cpp/_macro.c b/soltools/cpp/_macro.c index fe7d22f82373..c61798704711 100644 --- a/soltools/cpp/_macro.c +++ b/soltools/cpp/_macro.c @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ #ifdef _MSC_VER # define _POSIX_ #endif @@ -754,3 +755,4 @@ void outptr = op; } +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/soltools/cpp/_mcrvalid.c b/soltools/cpp/_mcrvalid.c index 75813837d470..29bd33fc0885 100644 --- a/soltools/cpp/_mcrvalid.c +++ b/soltools/cpp/_mcrvalid.c @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -127,3 +128,4 @@ tokenrow_zeroTokenIdentifiers(Tokenrow* trp) } } +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/soltools/cpp/_nlist.c b/soltools/cpp/_nlist.c index a71085bfbbf9..9446b928ca87 100644 --- a/soltools/cpp/_nlist.c +++ b/soltools/cpp/_nlist.c @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -115,3 +116,5 @@ Nlist * } return NULL; } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/soltools/cpp/_tokens.c b/soltools/cpp/_tokens.c index 863de2fbef02..12a51fddd9d5 100644 --- a/soltools/cpp/_tokens.c +++ b/soltools/cpp/_tokens.c @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -533,3 +534,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/soltools/cpp/_unix.c b/soltools/cpp/_unix.c index 4148822f31f4..d3d55a67aff9 100644 --- a/soltools/cpp/_unix.c +++ b/soltools/cpp/_unix.c @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ #include <stdio.h> #include <stddef.h> #include <stdlib.h> @@ -232,3 +233,4 @@ void * #endif +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/soltools/cpp/cpp.h b/soltools/cpp/cpp.h index 34e18579c35a..d6efb21319a0 100644 --- a/soltools/cpp/cpp.h +++ b/soltools/cpp/cpp.h @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* $Id: cpp.h,v 1.4 2006-06-20 05:07:28 hr Exp $ */ #define INS 32768 /* input buffer */ @@ -237,3 +238,4 @@ extern Includelist includelist[NINCLUDE]; extern Wraplist wraplist[NINCLUDE]; extern char wd[]; +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |