summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-10-27 13:13:11 +0100
committerCaolán McNamara <caolanm@redhat.com>2010-10-27 16:04:46 +0100
commitda5cef0ab476edf496f7591ab511d09336dd197f (patch)
treead97ca5f38af80e9de0c925388942d5a520f1b0f /idlc
parentc9d96e6ac9985f4bf9e899d6d31937bae374c57d (diff)
add modelines to .h and .c files as well
Diffstat (limited to 'idlc')
-rw-r--r--idlc/source/preproc/cpp.c3
-rw-r--r--idlc/source/preproc/cpp.h2
-rw-r--r--idlc/source/preproc/eval.c3
-rw-r--r--idlc/source/preproc/include.c2
-rw-r--r--idlc/source/preproc/lex.c3
-rw-r--r--idlc/source/preproc/macro.c3
-rw-r--r--idlc/source/preproc/nlist.c3
-rw-r--r--idlc/source/preproc/tokens.c3
-rw-r--r--idlc/source/preproc/unix.c3
9 files changed, 25 insertions, 0 deletions
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: */