aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2011-03-09 21:46:07 +0000
committerGreg Hudson <ghudson@mit.edu>2011-03-09 21:46:07 +0000
commit7da53e2942176c5ddfe007ba0a36f449e9fdb9fb (patch)
tree4881536c48fdeb215e0cbaea18263365330ad9b0 /src/util
parentfe012b454a193c1f81ab8011ecd620750e5869f0 (diff)
downloadkrb5-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/util')
-rw-r--r--src/util/et/com_err.h4
-rw-r--r--src/util/et/compile_et.c12
-rw-r--r--src/util/exitsleep.c7
-rw-r--r--src/util/mac/k5_mig_client.c3
-rw-r--r--src/util/mac/k5_mig_client.h3
-rw-r--r--src/util/mac/k5_mig_server.c3
-rw-r--r--src/util/mac/k5_mig_server.h3
-rw-r--r--src/util/profile/argv_parse.c24
-rw-r--r--src/util/profile/argv_parse.h38
-rw-r--r--src/util/ss/listen.c5
-rw-r--r--src/util/ss/mk_cmds.c5
-rw-r--r--src/util/ss/pager.c4
-rw-r--r--src/util/ss/prompt.c5
-rw-r--r--src/util/ss/requests.c3
-rw-r--r--src/util/support/ipc_stream.c3
-rw-r--r--src/util/support/k5buf-int.h8
-rw-r--r--src/util/support/k5buf.c7
-rw-r--r--src/util/support/plugins.c6
-rw-r--r--src/util/support/printf.c12
-rw-r--r--src/util/support/strlcpy.c7
-rw-r--r--src/util/support/supp-int.h7
-rw-r--r--src/util/support/t_k5buf.c6
-rw-r--r--src/util/support/threads.c10
-rw-r--r--src/util/support/utf8.c9
-rw-r--r--src/util/support/utf8_conv.c10
-rw-r--r--src/util/support/zap.c8
26 files changed, 91 insertions, 121 deletions
diff --git a/src/util/et/com_err.h b/src/util/et/com_err.h
index 6600460..0a631e9 100644
--- a/src/util/et/com_err.h
+++ b/src/util/et/com_err.h
@@ -1,6 +1,4 @@
/*
- * Header file for common error description library.
- *
* Copyright 1988, Student Information Processing Board of the
* Massachusetts Institute of Technology.
*
@@ -10,6 +8,8 @@
* with this package.
*/
+/* Header file for common error description library. */
+
#ifndef __COM_ERR_H
#if defined(_WIN32)
diff --git a/src/util/et/compile_et.c b/src/util/et/compile_et.c
index 993b3ed..47c5637 100644
--- a/src/util/et/compile_et.c
+++ b/src/util/et/compile_et.c
@@ -1,11 +1,14 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
- *
* Copyright 1986, 1987, 1988
* by MIT Student Information Processing Board.
*
* For copyright info, see "mit-sipb-copyright.h".
- *
+ */
+/*
+ * Copyright (c) 1987 Regents of the University of California.
+ * All rights reserved. The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
*/
#include <stdio.h>
@@ -287,11 +290,6 @@ int yyerror(s) char *s; {
#ifdef NEED_STRCASECMP
/* Need strcasecmp for this machine */
-/*
- * Copyright (c) 1987 Regents of the University of California.
- * All rights reserved. The Berkeley software License Agreement
- * specifies the terms and conditions for redistribution.
- */
/* based on @(#)strcasecmp.c 1.3 (Berkeley) 8/3/87 */
diff --git a/src/util/exitsleep.c b/src/util/exitsleep.c
index c027526..e4cc1af 100644
--- a/src/util/exitsleep.c
+++ b/src/util/exitsleep.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/exitsleep.c */
/*
- * util/exitsleep.c
- *
* Copyright (C) 2003 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -23,7 +22,9 @@
* 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.
- *
+ */
+
+/*
* Kludge to sleep 100ms prior to exit on Solaris 9 to work around a
* pty bug.
*/
diff --git a/src/util/mac/k5_mig_client.c b/src/util/mac/k5_mig_client.c
index 1891b31..da62153 100644
--- a/src/util/mac/k5_mig_client.c
+++ b/src/util/mac/k5_mig_client.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/mac/k5_mig_client.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/util/mac/k5_mig_client.h b/src/util/mac/k5_mig_client.h
index 3fa8591..1d13bda 100644
--- a/src/util/mac/k5_mig_client.h
+++ b/src/util/mac/k5_mig_client.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/mac/k5_mig_client.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/util/mac/k5_mig_server.c b/src/util/mac/k5_mig_server.c
index baea165..cdab13b 100644
--- a/src/util/mac/k5_mig_server.c
+++ b/src/util/mac/k5_mig_server.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/mac/k5_mig_server.c */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/util/mac/k5_mig_server.h b/src/util/mac/k5_mig_server.h
index 9ee0fa1..95a5d0a 100644
--- a/src/util/mac/k5_mig_server.h
+++ b/src/util/mac/k5_mig_server.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/mac/k5_mig_server.h */
/*
- * $Header$
- *
* Copyright 2006 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/util/profile/argv_parse.c b/src/util/profile/argv_parse.c
index 5101281..aac1f45 100644
--- a/src/util/profile/argv_parse.c
+++ b/src/util/profile/argv_parse.c
@@ -1,15 +1,5 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
- * argv_parse.c --- utility function for parsing a string into a
- * argc, argv array.
- *
- * This file defines a function argv_parse() which parsing a
- * passed-in string, handling double quotes and backslashes, and
- * creates an allocated argv vector which can be freed using the
- * argv_free() function.
- *
- * See argv_parse.h for the formal definition of the functions.
- *
* Copyright 1999 by Theodore Ts'o.
*
* Permission to use, copy, modify, and distribute this software for
@@ -25,8 +15,20 @@
* IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. (Isn't
* it sick that the U.S. culture of lawsuit-happy lawyers requires
* this kind of disclaimer?)
- *
+ */
+
+/*
* Version 1.1, modified 2/27/1999
+ *
+ * argv_parse.c --- utility function for parsing a string into a
+ * argc, argv array.
+ *
+ * This file defines a function argv_parse() which parsing a
+ * passed-in string, handling double quotes and backslashes, and
+ * creates an allocated argv vector which can be freed using the
+ * argv_free() function.
+ *
+ * See argv_parse.h for the formal definition of the functions.
*/
#include "prof_int.h"
diff --git a/src/util/profile/argv_parse.h b/src/util/profile/argv_parse.h
index a84bdee..26904eb 100644
--- a/src/util/profile/argv_parse.h
+++ b/src/util/profile/argv_parse.h
@@ -1,5 +1,25 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
+ * Copyright 1999 by Theodore Ts'o.
+ *
+ * Permission to use, copy, modify, and distribute this software for
+ * any purpose with or without fee is hereby granted, provided that
+ * the above copyright notice and this permission notice appear in all
+ * copies. THE SOFTWARE IS PROVIDED "AS IS" AND THEODORE TS'O (THE
+ * AUTHOR) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
+ * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
+ * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER
+ * RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
+ * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+ * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. (Isn't
+ * it sick that the U.S. culture of lawsuit-happy lawyers requires
+ * this kind of disclaimer?)
+ */
+
+/*
+ * Version 1.1, modified 2/27/1999
+ *
* argv_parse.h --- header file for the argv parser.
*
* This file defines the interface for the functions argv_parse() and
@@ -20,24 +40,6 @@
*
* This function frees the argument vector created by argv_parse().
***********************************************************************
- *
- * Copyright 1999 by Theodore Ts'o.
- *
- * Permission to use, copy, modify, and distribute this software for
- * any purpose with or without fee is hereby granted, provided that
- * the above copyright notice and this permission notice appear in all
- * copies. THE SOFTWARE IS PROVIDED "AS IS" AND THEODORE TS'O (THE
- * AUTHOR) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
- * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
- * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER
- * RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
- * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
- * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. (Isn't
- * it sick that the U.S. culture of lawsuit-happy lawyers requires
- * this kind of disclaimer?)
- *
- * Version 1.1, modified 2/27/1999
*/
extern int argv_parse(char *in_buf, int *ret_argc, char ***ret_argv);
diff --git a/src/util/ss/listen.c b/src/util/ss/listen.c
index ce8e527..f7be47b 100644
--- a/src/util/ss/listen.c
+++ b/src/util/ss/listen.c
@@ -1,9 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/ss/listen.c */
/*
- * Listener loop for subsystem library libss.a.
- *
- * util/ss/listen.c
- *
* Copyright 1987, 1988 by MIT Student Information Processing Board
*
* For copyright information, see copyright.h.
diff --git a/src/util/ss/mk_cmds.c b/src/util/ss/mk_cmds.c
index 6488f7c..3ed3779 100644
--- a/src/util/ss/mk_cmds.c
+++ b/src/util/ss/mk_cmds.c
@@ -1,9 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/ss/mk_cmds.c */
/*
- * make_commands.c
- *
- * util/ss/mk_cmds.c
- *
* Copyright 1987, 1988 by MIT Student Information Processing Board
*
* For copyright information, see copyright.h.
diff --git a/src/util/ss/pager.c b/src/util/ss/pager.c
index be8fd0b..ae023b5 100644
--- a/src/util/ss/pager.c
+++ b/src/util/ss/pager.c
@@ -1,8 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/ss/pager.c - create a "more" running out of a file descriptor */
/*
- * Pager: Routines to create a "more" running out of a particular file
- * descriptor.
- *
* Copyright 1987, 1988 by MIT Student Information Processing Board
*
* For copyright information, see copyright.h.
diff --git a/src/util/ss/prompt.c b/src/util/ss/prompt.c
index f42fde9..5aa2ad6 100644
--- a/src/util/ss/prompt.c
+++ b/src/util/ss/prompt.c
@@ -1,9 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/ss/prompt.c */
/*
- * prompt.c: Routines for retrieving and setting a prompt.
- *
- * util/ss/prompt.c
- *
* Copyright 1987, 1988 by MIT Student Information Processing Board
*
* For copyright information, see copyright.h.
diff --git a/src/util/ss/requests.c b/src/util/ss/requests.c
index 27c4a20..3e62f97 100644
--- a/src/util/ss/requests.c
+++ b/src/util/ss/requests.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/ss/requests.c */
/*
- * Various minor routines...
- *
* Copyright 1987, 1988, 1989 by MIT
*
* For copyright information, see mit-sipb-copyright.h.
diff --git a/src/util/support/ipc_stream.c b/src/util/support/ipc_stream.c
index 2cea709..72d3070 100644
--- a/src/util/support/ipc_stream.c
+++ b/src/util/support/ipc_stream.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/support/ipc_stream.c */
/*
- * $Header$
- *
* Copyright 2006, 2007, 2009 Massachusetts Institute of Technology.
* All Rights Reserved.
*
diff --git a/src/util/support/k5buf-int.h b/src/util/support/k5buf-int.h
index 616cee5..cc3c04c 100644
--- a/src/util/support/k5buf-int.h
+++ b/src/util/support/k5buf-int.h
@@ -1,8 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-
+/* util/support/k5buf-int.h */
/*
- * k5buf-int.h
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -24,10 +22,10 @@
* 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.
- *
- * Internal declarations for the k5buf string buffer module.
*/
+/* Internal declarations for the k5buf string buffer module */
+
#ifndef K5BUF_INT_H
#define K5BUF_INT_H
diff --git a/src/util/support/k5buf.c b/src/util/support/k5buf.c
index 799c9f9..5040ded 100644
--- a/src/util/support/k5buf.c
+++ b/src/util/support/k5buf.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/support/k5buf.c */
/*
- * k5buf.c
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -23,10 +22,10 @@
* 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.
- *
- * Implement the k5buf string buffer module.
*/
+/* Implement the k5buf string buffer module. */
+
/* Can't include krb5.h here, or k5-int.h which includes it, because
krb5.h needs to be generated with error tables, after util/et,
which builds after this directory. */
diff --git a/src/util/support/plugins.c b/src/util/support/plugins.c
index 4e92254..c152056 100644
--- a/src/util/support/plugins.c
+++ b/src/util/support/plugins.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/support/plugins.c - Plugin module support functions */
/*
- * util/support/plugins.c
- *
* Copyright 2006, 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.
- *
- *
- * Plugin module support, and shims around dlopen/whatever.
*/
#include "k5-plugin.h"
diff --git a/src/util/support/printf.c b/src/util/support/printf.c
index b3cf46b..8228a40 100644
--- a/src/util/support/printf.c
+++ b/src/util/support/printf.c
@@ -1,9 +1,8 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/support/printf.c */
/*
- * printf.c
- *
- * Copyright 2003, 2004, 2005, 2007, 2008 Massachusetts Institute of Technology.
- * All Rights Reserved.
+ * Copyright 2003, 2004, 2005, 2007, 2008 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.
@@ -23,11 +22,10 @@
* 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.
- *
- *
- * Provide {,v}asprintf for platforms that don't have them.
*/
+/* Provide {,v}asprintf for platforms that don't have them. */
+
#include "k5-platform.h"
/* On error: BSD: Set *ret to NULL. GNU: *ret is undefined.
diff --git a/src/util/support/strlcpy.c b/src/util/support/strlcpy.c
index a3abbfe..26ac34e 100644
--- a/src/util/support/strlcpy.c
+++ b/src/util/support/strlcpy.c
@@ -1,8 +1,4 @@
/* -*- mode: c; c-file-style: "bsd"; indent-tabs-mode: t -*- */
-#include "k5-platform.h"
-
-/* Provide strlcpy and strlcat for platforms that don't have them. */
-
/*
* Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
*
@@ -19,6 +15,9 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+/* Provide strlcpy and strlcat for platforms that don't have them. */
+
+#include "k5-platform.h"
#include <sys/types.h>
#include <string.h>
diff --git a/src/util/support/supp-int.h b/src/util/support/supp-int.h
index cf8c288..5cd030e 100644
--- a/src/util/support/supp-int.h
+++ b/src/util/support/supp-int.h
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/support/supp-int.h */
/*
- * util/support/supp-int.h
- *
* Copyright (C) 2006 by the Massachusetts Institute of Technology.
* All rights reserved.
*
@@ -23,7 +22,9 @@
* 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.
- *
+ */
+
+/*
*
* Internal prototypes for the krb5support library
*/
diff --git a/src/util/support/t_k5buf.c b/src/util/support/t_k5buf.c
index a74ad85..a6195fc 100644
--- a/src/util/support/t_k5buf.c
+++ b/src/util/support/t_k5buf.c
@@ -1,8 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-
+/* util/support/t_k5buf.c - Test the k5buf string buffer module */
/*
- * t_k5buf.c
- *
* Copyright 2008 Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -24,8 +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.
- *
- * Test the k5buf string buffer module.
*/
#include "k5buf-int.h"
diff --git a/src/util/support/threads.c b/src/util/support/threads.c
index dddf6aa..4370c05 100644
--- a/src/util/support/threads.c
+++ b/src/util/support/threads.c
@@ -1,9 +1,8 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/support/threads.c - Portable thread support */
/*
- * util/support/threads.c
- *
- * Copyright 2004,2005,2006,2007,2008 by the Massachusetts Institute of Technology.
- * All Rights Reserved.
+ * Copyright 2004,2005,2006,2007,2008 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.
@@ -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.
- *
- *
- * Preliminary thread support.
*/
#include <assert.h>
diff --git a/src/util/support/utf8.c b/src/util/support/utf8.c
index dcaa4cb..4398275 100644
--- a/src/util/support/utf8.c
+++ b/src/util/support/utf8.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/support/utf8.c */
/*
- * util/support/utf8.c
- *
* Copyright 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -24,8 +23,7 @@
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
*/
-/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
- *
+/*
* Copyright 1998-2008 The OpenLDAP Foundation.
* All rights reserved.
*
@@ -37,6 +35,9 @@
* top-level directory of the distribution or, alternatively, at
* <http://www.OpenLDAP.org/license.html>.
*/
+
+/* This work is part of OpenLDAP Software <http://www.openldap.org/>. */
+
/* Basic UTF-8 routines
*
* These routines are "dumb". Though they understand UTF-8,
diff --git a/src/util/support/utf8_conv.c b/src/util/support/utf8_conv.c
index 47ff951..6e7c588 100644
--- a/src/util/support/utf8_conv.c
+++ b/src/util/support/utf8_conv.c
@@ -1,7 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+/* util/support/utf8_conv.c */
/*
- * util/support/utf8_conv.c
- *
* Copyright 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -24,8 +23,7 @@
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
*/
-/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
- *
+/*
* Copyright 1998-2008 The OpenLDAP Foundation.
* All rights reserved.
*
@@ -37,7 +35,7 @@
* top-level directory of the distribution or, alternatively, at
* <http://www.OpenLDAP.org/license.html>.
*/
-/* Portions Copyright (C) 1999, 2000 Novell, Inc. All Rights Reserved.
+/* Copyright (C) 1999, 2000 Novell, Inc. All Rights Reserved.
*
* THIS WORK IS SUBJECT TO U.S. AND INTERNATIONAL COPYRIGHT LAWS AND
* TREATIES. USE, MODIFICATION, AND REDISTRIBUTION OF THIS WORK IS SUBJECT
@@ -49,6 +47,8 @@
* THE PERPETRATOR TO CRIMINAL AND CIVIL LIABILITY.
*/
+/* This work is part of OpenLDAP Software <http://www.openldap.org/>. */
+
/*
* UTF-8 Conversion Routines
*
diff --git a/src/util/support/zap.c b/src/util/support/zap.c
index ae6baf0..48512a9 100644
--- a/src/util/support/zap.c
+++ b/src/util/support/zap.c
@@ -1,8 +1,6 @@
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
-
+/* util/support/zap.c */
/*
- * zap.c
- *
* Copyright 2009 Massachusetts Institute of Technology.
* All Rights Reserved.
*
@@ -24,7 +22,9 @@
* 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.
- *
+ */
+
+/*
* krb5int_zap() is used by zap() (a static inline function defined in
* k5-int.h) on non-Windows, non-gcc compilers, in order to prevent the
* compiler from inlining and optimizing out the memset() call.