summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-16 21:54:26 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-16 21:54:26 +0000
commit3f87a95da89a18c428efbeb67268b5201da89281 (patch)
tree5d7188bcfa82884dfbbb4e5aebdd9c3b8e5fa66b
parent9cbe4c74ff0113d8ab0c6cab4ce5781c4ad66ab4 (diff)
Update license
-rw-r--r--libcrypt/crypt.c21
1 files changed, 4 insertions, 17 deletions
diff --git a/libcrypt/crypt.c b/libcrypt/crypt.c
index a1bba6ebd..a64b4a556 100644
--- a/libcrypt/crypt.c
+++ b/libcrypt/crypt.c
@@ -3,24 +3,11 @@
* crypt() for uClibc
*
* Copyright (C) 2000 by Lineo, inc. and Erik Andersen
- * Copyright (C) 2000,2001 by Erik Andersen <andersen@uclibc.org>
- * Written by Erik Andersen <andersen@uclibc.org>
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
*
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; see the file COPYING.LIB. If not,
- * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
+/* Written by Erik Andersen <andersen@uclibc.org> */
#define __FORCE_GLIBC
#include <crypt.h>
@@ -29,7 +16,7 @@
extern char * __md5_crypt( const char *pw, const char *salt) attribute_hidden;
extern char * __des_crypt( const char *pw, const char *salt) attribute_hidden;
-extern char * crypt(const char *key, const char *salt)
+char * crypt(const char *key, const char *salt)
{
/* First, check if we are supposed to be using the MD5 replacement
* instead of DES... */