X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=wrapper%2Frandom.c;h=c938ae35a4ac2a96a2a2deee26cb645a33792af2;hb=27e6eda75df97483d07d61ba731bbc428e2161f9;hp=da8cb176bce9e5904542834cd4acbc4833eeacb2;hpb=a82c63f10514ca43282498ea4fdee3908576528a;p=lttng-modules.git diff --git a/wrapper/random.c b/wrapper/random.c index da8cb176..c938ae35 100644 --- a/wrapper/random.c +++ b/wrapper/random.c @@ -1,13 +1,16 @@ -/* - * Copyright (C) 2011 Mathieu Desnoyers (mathieu.desnoyers@efficios.com) +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) + * + * 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 */ +#include + /* boot_id depends on sysctl */ #if defined(CONFIG_SYSCTL) @@ -15,7 +18,7 @@ #include #include #include -#include "random.h" +#include /* * Returns string boot id.