summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>2009-10-19 18:14:35 +0000
committerTom Yu <tlyu@mit.edu>2009-10-19 18:14:35 +0000
commit04a5d19e61bedbb1da4db52334c00f7a54a9d5a8 (patch)
tree7898ad44be61fc1f1afaec5f8b1580fb6f545699 /src
parent8e8b53857d74edd02435f6a0c449a405fd51f8e7 (diff)
downloadkrb5-04a5d19e61bedbb1da4db52334c00f7a54a9d5a8.tar.gz
krb5-04a5d19e61bedbb1da4db52334c00f7a54a9d5a8.tar.xz
krb5-04a5d19e61bedbb1da4db52334c00f7a54a9d5a8.zip
Update prototype files to conform with newer whitespace rules
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22937 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r--src/prototype/getopt.c6
-rw-r--r--src/prototype/prototype.c9
-rw-r--r--src/prototype/prototype.h7
3 files changed, 12 insertions, 10 deletions
diff --git a/src/prototype/getopt.c b/src/prototype/getopt.c
index 935f0bf5f..f039c95be 100644
--- a/src/prototype/getopt.c
+++ b/src/prototype/getopt.c
@@ -1,3 +1,5 @@
+/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil */
+
extern int optind;
extern char *optarg;
@@ -7,9 +9,9 @@ main(argc, argv)
{
int c;
int errflg = 0;
-
+
<<<other globals here>>>;
-
+
while ((c = getopt(argc, argv, "<<<>>>")) != -1) {
switch (c) {
<<<add cases for arguments here>>>;
diff --git a/src/prototype/prototype.c b/src/prototype/prototype.c
index 83e6d3726..9565d72ca 100644
--- a/src/prototype/prototype.c
+++ b/src/prototype/prototype.c
@@ -1,14 +1,15 @@
+/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil */
/*
* prototype/prototype.c
*
- * Copyright (C) 2002 by the Massachusetts Institute of Technology.
+ * Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* Export of this software from the United States of America may
* require a specific license from the United States Government.
* It is the responsibility of any person or organization contemplating
* export to obtain such a license before exporting.
- *
+ *
* WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
* distribute this software and its documentation for any purpose and
* without fee is hereby granted, provided that the above copyright
@@ -22,9 +23,7 @@
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
- *
+ *
*
* <<< Description >>>
*/
-
diff --git a/src/prototype/prototype.h b/src/prototype/prototype.h
index f85d0497e..5f9590e5e 100644
--- a/src/prototype/prototype.h
+++ b/src/prototype/prototype.h
@@ -1,14 +1,15 @@
+/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil */
/*
* prototype/prototype.h
*
- * Copyright (C) 2002 by the Massachusetts Institute of Technology.
+ * Copyright (C) 2009 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* Export of this software from the United States of America may
* require a specific license from the United States Government.
* It is the responsibility of any person or organization contemplating
* export to obtain such a license before exporting.
- *
+ *
* WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
* distribute this software and its documentation for any purpose and
* without fee is hereby granted, provided that the above copyright
@@ -22,7 +23,7 @@
* M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
- *
+ *
*
* <<< Description >>>
*/