X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=libringbuffer%2Fshm.c;h=6f5c9f5fd4763fad9b72d5a4c0dfbf8449e7f8ea;hb=156b0cf7b48f8f2e0e99b148803354ba8b1e5c6a;hp=1ac59f9eee138c2744a5ada5bd58c05476de9800;hpb=71be0c5340258bbb9fe728451790dd113be2f1ec;p=lttng-ust.git diff --git a/libringbuffer/shm.c b/libringbuffer/shm.c index 1ac59f9e..6f5c9f5f 100644 --- a/libringbuffer/shm.c +++ b/libringbuffer/shm.c @@ -1,21 +1,7 @@ /* - * libringbuffer/shm.c + * SPDX-License-Identifier: LGPL-2.1-only * * Copyright (C) 2005-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 */ #define _LGPL_SOURCE @@ -30,15 +16,18 @@ #include #include #include -#include #include #include #include + #ifdef HAVE_LIBNUMA #include #include #endif -#include + +#include + +#include #include #include "mmap.h"