X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Ferror.h;h=33a299c4e4952e3882bdbc457e0bd55c042982bc;hp=3fe742c02fe97bf85b792d989e7ab3e02352c1f2;hb=898ba13216992affd6cb40fe11c64bdc6e65ca9e;hpb=557ac9b9cfa00306a0330694846db95fc5cd3b72 diff --git a/src/common/error.h b/src/common/error.h index 3fe742c02..33a299c4e 100644 --- a/src/common/error.h +++ b/src/common/error.h @@ -1,18 +1,8 @@ /* - * Copyright (C) 2011 - David Goulet + * Copyright (C) 2011 David Goulet * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License, version 2 only, - * as published by the Free Software Foundation. + * SPDX-License-Identifier: GPL-2.0-only * - * This program 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 General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef _ERROR_H @@ -234,6 +224,6 @@ const char *error_get_str(int32_t code); * the caller. On error, an empty string is returned thus no time will be * printed in the log. */ -const char *log_add_time(); +const char *log_add_time(void); #endif /* _ERROR_H */