X-Git-Url: http://git.liburcu.org/?p=lttng-modules.git;a=blobdiff_plain;f=wrapper%2Fsplice.h;h=a0e2b5f0144ed4164fc1799baca48beff5a21e9d;hp=91eb864c055df151641c471cadf1b5b5aaab9901;hb=9f36eaed6f91d5897924b551b44d1edd8cee00e2;hpb=6c27a5ccba05b088fbfcf8cd982c25649838298d diff --git a/wrapper/splice.h b/wrapper/splice.h index 91eb864c..a0e2b5f0 100644 --- a/wrapper/splice.h +++ b/wrapper/splice.h @@ -1,7 +1,5 @@ -#ifndef _LTTNG_WRAPPER_SPLICE_H -#define _LTTNG_WRAPPER_SPLICE_H - -/* +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) + * * wrapper/splice.h * * wrapper around splice_to_pipe. Using KALLSYMS to get its address when @@ -9,22 +7,11 @@ * modules. * * 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 */ +#ifndef _LTTNG_WRAPPER_SPLICE_H +#define _LTTNG_WRAPPER_SPLICE_H + #include ssize_t wrapper_splice_to_pipe(struct pipe_inode_info *pipe,