X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2Futils%2Ftestapp%2Fgen-ust-events%2Ftp.h;h=bc1949417118dd54b4d2d618571eb4af163329f0;hb=9d16b343fb9e781fc8d8fa3c448a3f382306dd33;hp=6ffbc32abfb423d83d0236436b5091705108925a;hpb=7e0cc23bbca1f5102cae78a7cabe48d8ef947366;p=lttng-tools.git diff --git a/tests/utils/testapp/gen-ust-events/tp.h b/tests/utils/testapp/gen-ust-events/tp.h index 6ffbc32ab..bc1949417 100644 --- a/tests/utils/testapp/gen-ust-events/tp.h +++ b/tests/utils/testapp/gen-ust-events/tp.h @@ -1,26 +1,16 @@ +/* + * Copyright (C) 2011 Mathieu Desnoyers + * + * SPDX-License-Identifier: MIT + * + */ + #undef TRACEPOINT_PROVIDER #define TRACEPOINT_PROVIDER tp #if !defined(_TRACEPOINT_TP_H) || defined(TRACEPOINT_HEADER_MULTI_READ) #define _TRACEPOINT_TP_H -#ifdef __cplusplus -extern "C" { -#endif - -/* - * Copyright (C) 2011 Mathieu Desnoyers - * - * THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED - * OR IMPLIED. ANY USE IS AT YOUR OWN RISK. - * - * Permission is hereby granted to use or copy this program - * for any purpose, provided the above notices are retained on all copies. - * Permission to modify the code and to distribute modified code is granted, - * provided the above notices are retained, and a notice that the code was - * modified is included with the above copyright notice. - */ - #include TRACEPOINT_EVENT(tp, tptest, @@ -50,7 +40,3 @@ TRACEPOINT_EVENT(tp, tptest, /* This part must be outside ifdef protection */ #include - -#ifdef __cplusplus -} -#endif