X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=include%2Flttng%2Fust-tracepoint-event-write.h;h=87f621cd47dfe5918db92fd7736dd6042c3de1f1;hb=3d33ca1d93088e049c36fc0f417d130bc66b2231;hp=0d4cf6844a5f4a8cdaa8b633d5c092b6eedc7d76;hpb=f3ec4cb5bbc1a7bf860207a3e080f4f3eb7dbab0;p=lttng-ust.git diff --git a/include/lttng/ust-tracepoint-event-write.h b/include/lttng/ust-tracepoint-event-write.h index 0d4cf684..87f621cd 100644 --- a/include/lttng/ust-tracepoint-event-write.h +++ b/include/lttng/ust-tracepoint-event-write.h @@ -1,23 +1,7 @@ /* - * Copyright (c) 2011 - Mathieu Desnoyers + * SPDX-License-Identifier: MIT * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * Copyright (C) 2011 Mathieu Desnoyers */ #undef ctf_integer @@ -94,6 +78,10 @@ #define ctf_string(_item, _src) \ _ctf_string(_item, _src, 0) +#undef ctf_unused +#define ctf_unused(_src) \ + _ctf_unused(_src) + #undef ctf_enum #define ctf_enum(_provider, _name, _type, _item, _src) \ _ctf_enum(_provider, _name, _type, _item, _src, 0)