X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=libringbuffer%2Fshm_internal.h;h=0e92b45124a0f950ddc573f929c640eb63c39b33;hb=c0c0989ab70574e09b2f7e8b48c2da6af664a849;hp=06a47ab637cb5564db52c2123f9f8408eca3d534;hpb=e92f3e285939848f248af08f11a39a04a7fcf852;p=lttng-ust.git diff --git a/libringbuffer/shm_internal.h b/libringbuffer/shm_internal.h index 06a47ab6..0e92b451 100644 --- a/libringbuffer/shm_internal.h +++ b/libringbuffer/shm_internal.h @@ -1,26 +1,12 @@ -#ifndef _LIBRINGBUFFER_SHM_INTERNAL_H -#define _LIBRINGBUFFER_SHM_INTERNAL_H - /* - * libringbuffer/shm_internal.h + * SPDX-License-Identifier: LGPL-2.1-only * * 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 _LIBRINGBUFFER_SHM_INTERNAL_H +#define _LIBRINGBUFFER_SHM_INTERNAL_H + struct shm_ref { volatile ssize_t index; /* within the object table */ volatile ssize_t offset; /* within the object */