X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=wrapper%2Frandom.c;h=82876e75152b9d8c32240f6180043c89dbdaf287;hb=00017921de3dfbca2cd0f062bbd07a2f644618bd;hp=da8cb176bce9e5904542834cd4acbc4833eeacb2;hpb=a82c63f10514ca43282498ea4fdee3908576528a;p=lttng-modules.git diff --git a/wrapper/random.c b/wrapper/random.c index da8cb176..82876e75 100644 --- a/wrapper/random.c +++ b/wrapper/random.c @@ -1,13 +1,29 @@ /* - * Copyright (C) 2011 Mathieu Desnoyers (mathieu.desnoyers@efficios.com) + * wrapper/random.c * * wrapper around bootid read. Using KALLSYMS to get its address when * available, else we need to have a kernel that exports this function to GPL * modules. * - * Dual LGPL v2.1/GPL v2 license. + * Copyright (C) 2011-2012 Mathieu Desnoyers + * + * 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; only + * version 2.1 of the License. + * + * 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 Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include + /* boot_id depends on sysctl */ #if defined(CONFIG_SYSCTL) @@ -15,7 +31,7 @@ #include #include #include -#include "random.h" +#include /* * Returns string boot id.