diff options
author | 2025-05-21 23:32:50 +0200 | |
---|---|---|
committer | 2025-05-21 23:32:50 +0200 | |
commit | 7288bdd42360109f26a684431fa286ea265d07a4 (patch) | |
tree | 2dc070a742a3f61accbcf6f9afd8449d34dbd01c /src/main/util.c | |
parent | 56ee373d51e6d3acf3e284a59c8f852913b82e64 (diff) | |
download | tris-7288bdd42360109f26a684431fa286ea265d07a4.tar.gz tris-7288bdd42360109f26a684431fa286ea265d07a4.zip |
Remove util.* for the liblog
Diffstat (limited to 'src/main/util.c')
-rw-r--r-- | src/main/util.c | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/src/main/util.c b/src/main/util.c deleted file mode 100644 index 30492ea..0000000 --- a/src/main/util.c +++ /dev/null @@ -1,34 +0,0 @@ -/*- - * Copyright (C) 2025 Alessandro Iezzi <aiezzi AT alessandroiezzi PERIOD it> - * - * This file is part of Tris Game. - * - * Tris Game is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Tris Game 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 Tris Game. If not, see <http://www.gnu.org/licenses/>. - */ - -#include <stdio.h> -#include <stdarg.h> - -void -log_error(const char *format, ...) -{ - va_list args; - va_start(args, format); - - fprintf(stderr, "ERROR: "); - vfprintf(stderr, format, args); - fprintf(stderr, "\n"); - - va_end(args); -} |