X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=libringbuffer%2Frb-init.h;h=b3eb7568aff2a8c2193b8e9f4b3a872ca70b45b1;hb=1d18d519668cd559dcafa1f18113edceb2418ed0;hp=eba087fa0659591849a418e470c02c85056b654e;hpb=6f97f9c2bbc74605e3de2b05333ecf25fa52d6fc;p=lttng-ust.git diff --git a/libringbuffer/rb-init.h b/libringbuffer/rb-init.h index eba087fa..b3eb7568 100644 --- a/libringbuffer/rb-init.h +++ b/libringbuffer/rb-init.h @@ -1,27 +1,16 @@ -#ifndef _LTTNG_UST_LIB_RINGBUFFER_RB_INIT_H -#define _LTTNG_UST_LIB_RINGBUFFER_RB_INIT_H - /* - * libringbuffer/rb-init.h + * SPDX-License-Identifier: LGPL-2.1-only * * Copyright (C) 2012-2016 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 */ -void lttng_fixup_ringbuffer_tls(void); -void lttng_ust_ringbuffer_set_retry_timeout(int timeout); +#ifndef _LTTNG_UST_LIB_RINGBUFFER_RB_INIT_H +#define _LTTNG_UST_LIB_RINGBUFFER_RB_INIT_H + +void lttng_fixup_ringbuffer_tls(void) + __attribute__((visibility("hidden"))); + +void lttng_ust_ringbuffer_set_allow_blocking(void) + __attribute__((visibility("hidden"))); #endif /* _LTTNG_UST_LIB_RINGBUFFER_RB_INIT_H */