From 04a5d19e61bedbb1da4db52334c00f7a54a9d5a8 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Mon, 19 Oct 2009 18:14:35 +0000 Subject: [PATCH] Update prototype files to conform with newer whitespace rules git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22937 dc483132-0cff-0310-8789-dd5450dbe970 --- src/prototype/getopt.c | 6 ++++-- src/prototype/prototype.c | 9 ++++----- src/prototype/prototype.h | 7 ++++--- 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; - + <<>>; - + while ((c = getopt(argc, argv, "<<<>>>")) != -1) { switch (c) { <<>>; 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 >>> */ -- 2.26.2