X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=include%2Fust_snprintf.h;h=37c2218c432ea0de20d5d80c88eff1d9f52f2b5d;hb=c0c0989ab70574e09b2f7e8b48c2da6af664a849;hp=5ce14851a5c7e881468deadb3c5c2f7137e7f9de;hpb=a09dac63957396890b1085cac0fee92ecc5db87a;p=lttng-ust.git diff --git a/include/ust_snprintf.h b/include/ust_snprintf.h index 5ce14851..37c2218c 100644 --- a/include/ust_snprintf.h +++ b/include/ust_snprintf.h @@ -1,24 +1,14 @@ -/* Copyright (C) 2009 Pierre-Marc Fournier +/* + * SPDX-License-Identifier: LGPL-2.1-or-later * - * 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; either - * version 2.1 of the License, or (at your option) any later version. - * - * 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 + * Copyright (C) 2009 Pierre-Marc Fournier */ #ifndef UST_SNPRINTF #define UST_SNPRINTF #include +#include extern int ust_safe_vsnprintf(char *str, size_t n, const char *fmt, va_list ap); extern int ust_safe_snprintf(char *str, size_t n, const char *fmt, ...);