diff options
author | Greg Hudson <ghudson@mit.edu> | 2011-03-09 21:46:07 +0000 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2011-03-09 21:46:07 +0000 |
commit | 7da53e2942176c5ddfe007ba0a36f449e9fdb9fb (patch) | |
tree | 4881536c48fdeb215e0cbaea18263365330ad9b0 /src/clients | |
parent | fe012b454a193c1f81ab8011ecd620750e5869f0 (diff) | |
download | krb5-7da53e2942176c5ddfe007ba0a36f449e9fdb9fb.zip krb5-7da53e2942176c5ddfe007ba0a36f449e9fdb9fb.tar.gz krb5-7da53e2942176c5ddfe007ba0a36f449e9fdb9fb.tar.bz2 |
Adjust most C source files to match the new standards for copyright
and license comments.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24695 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/clients')
-rw-r--r-- | src/clients/kdestroy/kdestroy.c | 6 | ||||
-rw-r--r-- | src/clients/kinit/extern.h | 6 | ||||
-rw-r--r-- | src/clients/kinit/kinit.c | 6 | ||||
-rw-r--r-- | src/clients/kinit/kinit_kdb.c | 8 | ||||
-rw-r--r-- | src/clients/klist/klist.c | 6 | ||||
-rw-r--r-- | src/clients/ksu/setenv.c | 32 | ||||
-rw-r--r-- | src/clients/ksu/xmalloc.c | 6 |
7 files changed, 24 insertions, 46 deletions
diff --git a/src/clients/kdestroy/kdestroy.c b/src/clients/kdestroy/kdestroy.c index 7da08d8..7f4469a 100644 --- a/src/clients/kdestroy/kdestroy.c +++ b/src/clients/kdestroy/kdestroy.c @@ -1,7 +1,6 @@ /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* clients/kdestroy/kdestroy.c - Destroy contents of credential cache */ /* - * clients/kdestroy/kdestroy.c - * * Copyright 1990 by the Massachusetts Institute of Technology. * All Rights Reserved. * @@ -23,9 +22,6 @@ * 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. - * - * - * Destroy the contents of your credential cache. */ #include "autoconf.h" diff --git a/src/clients/kinit/extern.h b/src/clients/kinit/extern.h index 23ecdc4..28682a1 100644 --- a/src/clients/kinit/extern.h +++ b/src/clients/kinit/extern.h @@ -1,7 +1,6 @@ /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* clients/kinit/extern.h - Global declarations for kinit */ /* - * clients/kinit/extern.h - * * Copyright (C) 2010 by the Massachusetts Institute of Technology. * All rights reserved. * @@ -23,9 +22,6 @@ * 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. - * - * - * Global declarations for kinit. */ #ifndef KINIT_EXTERN_H diff --git a/src/clients/kinit/kinit.c b/src/clients/kinit/kinit.c index d8746cb4..292d6c3 100644 --- a/src/clients/kinit/kinit.c +++ b/src/clients/kinit/kinit.c @@ -1,7 +1,6 @@ /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* clients/kinit/kinit.c - Initialize a credential cache */ /* - * clients/kinit/kinit.c - * * Copyright 1990, 2008 by the Massachusetts Institute of Technology. * All Rights Reserved. * @@ -23,9 +22,6 @@ * 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. - * - * - * Initialize a credentials cache. */ #include "autoconf.h" diff --git a/src/clients/kinit/kinit_kdb.c b/src/clients/kinit/kinit_kdb.c index 7a2c2b4..cc3df04 100644 --- a/src/clients/kinit/kinit_kdb.c +++ b/src/clients/kinit/kinit_kdb.c @@ -1,7 +1,6 @@ /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* clients/kinit/kinit_kdb.c */ /* - * clients/kinit/kinit_kdb.c - * * Copyright (C) 2010 by the Massachusetts Institute of Technology. * All rights reserved. * @@ -23,9 +22,8 @@ * 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. - * - * - */ + */ + /** * @file kinit_kdb.c * Operations to open the KDB and make the KDB key table available diff --git a/src/clients/klist/klist.c b/src/clients/klist/klist.c index 304d69d..6f37825 100644 --- a/src/clients/klist/klist.c +++ b/src/clients/klist/klist.c @@ -1,7 +1,6 @@ /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* clients/klist/klist.c - List contents of credential cache or keytab */ /* - * clients/klist/klist.c - * * Copyright 1990 by the Massachusetts Institute of Technology. * All Rights Reserved. * @@ -23,9 +22,6 @@ * 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. - * - * - * List out the contents of your credential cache or keytab. */ #include "autoconf.h" diff --git a/src/clients/ksu/setenv.c b/src/clients/ksu/setenv.c index 6e8710d..587005c 100644 --- a/src/clients/ksu/setenv.c +++ b/src/clients/ksu/setenv.c @@ -15,6 +15,22 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ +/* + * Copyright (c) 1987 Regents of the University of California. + * All rights reserved. + * + * Redistribution and use in source and binary forms are permitted + * provided that the above copyright notice and this paragraph are + * duplicated in all such forms and that any documentation, + * advertising materials, and other materials related to such + * distribution and use acknowledge that the software was developed + * by the University of California, Berkeley. The name of the + * University may not be used to endorse or promote products derived + * from this software without specific prior written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + */ /* based on @(#)setenv.c 5.2 (Berkeley) 6/27/88 */ @@ -111,22 +127,6 @@ unsetenv(name) break; } #endif -/* - * Copyright (c) 1987 Regents of the University of California. - * All rights reserved. - * - * Redistribution and use in source and binary forms are permitted - * provided that the above copyright notice and this paragraph are - * duplicated in all such forms and that any documentation, - * advertising materials, and other materials related to such - * distribution and use acknowledge that the software was developed - * by the University of California, Berkeley. The name of the - * University may not be used to endorse or promote products derived - * from this software without specific prior written permission. - * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED - * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. - */ /* based on @(#)getenv.c 5.5 (Berkeley) 6/27/88 */ diff --git a/src/clients/ksu/xmalloc.c b/src/clients/ksu/xmalloc.c index f88c0a6..9e3e98d 100644 --- a/src/clients/ksu/xmalloc.c +++ b/src/clients/ksu/xmalloc.c @@ -1,7 +1,6 @@ /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* clients/ksu/xmalloc.c - Exit-on-failure allocation wrappers */ /* - * clients/ksu/xmalloc.c - * * Copyright 1999 by the Massachusetts Institute of Technology. * All Rights Reserved. * @@ -23,9 +22,6 @@ * 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. - * - * - * Perform simple allocation/copy operations, exiting on failure. */ #include "ksu.h" |