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/util/profile | |
parent | fe012b454a193c1f81ab8011ecd620750e5869f0 (diff) | |
download | krb5-7da53e2942176c5ddfe007ba0a36f449e9fdb9fb.tar.gz krb5-7da53e2942176c5ddfe007ba0a36f449e9fdb9fb.tar.xz krb5-7da53e2942176c5ddfe007ba0a36f449e9fdb9fb.zip |
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/profile')
-rw-r--r-- | src/util/profile/argv_parse.c | 24 | ||||
-rw-r--r-- | src/util/profile/argv_parse.h | 38 |
2 files changed, 33 insertions, 29 deletions
diff --git a/src/util/profile/argv_parse.c b/src/util/profile/argv_parse.c index 5101281dd..aac1f4585 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 a84bdee79..26904ebea 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); |