X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=wrapper%2Fkstrtox.h;h=b0c6cf8f99e47ff322e70764c8561e398baf71e7;hb=41f229dc03b585cc3f434e1db1a5a68101c5da9a;hp=0f0666fe7d57e40f6169ebf15587a83c48dd8382;hpb=5a18f28d14f483c240e4dabd34c08a038ea01484;p=lttng-modules.git diff --git a/wrapper/kstrtox.h b/wrapper/kstrtox.h index 0f0666fe..b0c6cf8f 100644 --- a/wrapper/kstrtox.h +++ b/wrapper/kstrtox.h @@ -1,30 +1,19 @@ -#ifndef _LTTNG_WRAPPER_KSTRTOX_H -#define _LTTNG_WRAPPER_KSTRTOX_H - -/* +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) + * * wrapper/kstrtox.h * * Copyright (C) 2015 Michael Jeanson - * - * 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 */ +#ifndef _LTTNG_WRAPPER_KSTRTOX_H +#define _LTTNG_WRAPPER_KSTRTOX_H + #include #if (LINUX_VERSION_CODE < KERNEL_VERSION(3,0,0)) +#include + /* Excludes final \0. */ #define LTTNG_MAX_UINT_CHAR 10