split and span mess
[visor] / libvisor / src / vilibc.h
index e955585..f9e8d06 100644 (file)
@@ -1,3 +1,20 @@
+/*
+visor - lightweight system-independent embeddable text editor framework
+Copyright (C)  2019 John Tsiombikas <nuclear@member.fsf.org>
+
+This program 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 3 of the License, or
+(at your option) any later version.
+
+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 Lesser General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public License
+along with this program.  If not, see <https://www.gnu.org/licenses/>.
+*/
 #ifndef VISOR_LIBC_H_
 #define VISOR_LIBC_H_
 
@@ -13,6 +30,7 @@
 #include <stdarg.h>
 #include <ctype.h>
 #include <limit.h>
+#include <assert.h>
 #else
 
 int atoi(const char *str);
@@ -54,6 +72,8 @@ int isspace(int c);
 int toupper(int c);
 int tolower(int c);
 
+#define assert(x)
+
 #endif /* !HAVE_LIBC */
 
 struct visor;