index: change license to LGPL
I've got an explicit permit from index author to re-license it as LGPL.
diff --git a/libkmod/libkmod-index.c b/libkmod/libkmod-index.c
index 0f60bee..37e30c9 100644
--- a/libkmod/libkmod-index.c
+++ b/libkmod/libkmod-index.c
@@ -1,20 +1,22 @@
-/* index.c: module index file shared functions for modprobe and depmod
- Copyright (C) 2008 Alan Jenkins <alan-jenkins@tuffmail.co.uk>.
- Copyright (C) 2011 ProFUSION embedded systems
-
- These programs are free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program 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 General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with these programs. If not, see <http://www.gnu.org/licenses/>.
-*/
+/*
+ * libkmod - interface to kernel module operations
+ *
+ * Copyright (C) 2008 Alan Jenkins <alan.christopher.jenkins@googlemail.com>
+ * Copyright (C) 2011 ProFUSION embedded systems
+ *
+ * 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 version 2.1.
+ *
+ * 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; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ */
#include <arpa/inet.h> /* htonl */
#include <stdlib.h>
@@ -27,6 +29,8 @@
#include "libkmod-index.h"
#include "macro.h"
+/* index.c: module index file shared functions for modprobe and depmod */
+
void index_values_free(struct index_value *values)
{
while (values) {