X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Fevent-internal.h;h=7370d0510730eb77d4f039bd62c828c911c5c47c;hb=7966af5763c4aaca39df9bbfa9277ff15715c720;hp=f8130e3b948c0873ab0f13e7497f51456765e9ff;hpb=76fcf15156ecb0a18f9c41b350342171f862ff47;p=lttng-tools.git diff --git a/include/lttng/event-internal.h b/include/lttng/event-internal.h index f8130e3b9..7370d0510 100644 --- a/include/lttng/event-internal.h +++ b/include/lttng/event-internal.h @@ -3,20 +3,10 @@ * * Linux Trace Toolkit Control Library * - * Copyright (C) 2017 - Jérémie Galarneau + * Copyright (C) 2017 Jérémie Galarneau * - * This library is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License, version 2.1 only, - * as published by the Free Software Foundation. + * SPDX-License-Identifier: LGPL-2.1-only * - * 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_EVENT_INTERNAL_H @@ -25,6 +15,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + struct lttng_userspace_probe_location; struct lttng_event_extended { @@ -43,7 +37,10 @@ struct lttng_event_extended { struct lttng_userspace_probe_location *probe_location; }; -LTTNG_HIDDEN struct lttng_event *lttng_event_copy(const struct lttng_event *event); +#ifdef __cplusplus +} +#endif + #endif /* LTTNG_EVENT_INTERNAL_H */