diff --git a/include/libmes-mini.h b/include/mes/lib-mini.h similarity index 95% rename from include/libmes-mini.h rename to include/mes/lib-mini.h index f93c9015..ed141a92 100644 --- a/include/libmes-mini.h +++ b/include/mes/lib-mini.h @@ -18,8 +18,8 @@ * along with GNU Mes. If not, see . */ -#ifndef __MES_LIBMES_MINI_H -#define __MES_LIBMES_MINI_H +#ifndef __MES_LIB_MINI_H +#define __MES_LIB_MINI_H #if !WITH_GLIBC @@ -85,7 +85,8 @@ int oputs (char const* s); #if !WITH_GLIBC size_t strlen (char const* s); +ssize_t _write (); ssize_t write (int filedes, void const *buffer, size_t size); #endif // !WITH_GLIBC -#endif //__MES_LIBMES_MINI_H +#endif //__MES_LIB_MINI_H diff --git a/include/libmes.h b/include/mes/lib.h similarity index 94% rename from include/libmes.h rename to include/mes/lib.h index e15a0e40..71fb8a17 100644 --- a/include/libmes.h +++ b/include/mes/lib.h @@ -18,10 +18,10 @@ * along with GNU Mes. If not, see . */ -#ifndef __MES_LIBMES_H -#define __MES_LIBMES_H +#ifndef __MES_LIB_H +#define __MES_LIB_H -#include +#include #if WITH_GLIBC int mes_open (char const *file_name, int flags, ...); @@ -56,4 +56,4 @@ int oputc (int c); int oputs (char const* s); char *search_path (char const *file_name); -#endif //__MES_LIBMES_H +#endif //__MES_LIB_H diff --git a/include/stdio.h b/include/stdio.h index 9395d39b..b305fe46 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -20,7 +20,7 @@ #ifndef __MES_STDIO_H #define __MES_STDIO_H 1 -#include +#include #if WITH_GLIBC #ifndef _GNU_SOURCE diff --git a/lib/abtol.c b/lib/abtol.c index 25b3afa6..2fc3d607 100644 --- a/lib/abtol.c +++ b/lib/abtol.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include long abtol (char const **p, int base) diff --git a/lib/ctype/isdigit.c b/lib/ctype/isdigit.c index b29b1728..71798cc2 100644 --- a/lib/ctype/isdigit.c +++ b/lib/ctype/isdigit.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int isdigit (int c) diff --git a/lib/ctype/isspace.c b/lib/ctype/isspace.c index 2ac7a47c..50f6e337 100644 --- a/lib/ctype/isspace.c +++ b/lib/ctype/isspace.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int isspace (int c) diff --git a/lib/ctype/isxdigit.c b/lib/ctype/isxdigit.c index 9a3bfe6a..54b28571 100644 --- a/lib/ctype/isxdigit.c +++ b/lib/ctype/isxdigit.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int isxdigit (int c) diff --git a/lib/libc.c b/lib/libc.c index b37fc9bd..27abb994 100644 --- a/lib/libc.c +++ b/lib/libc.c @@ -21,10 +21,10 @@ #include #include #include -#include +#include #include -#include +#include #include #include #include diff --git a/lib/libmes.c b/lib/libmes.c index 49974b67..d002fa16 100644 --- a/lib/libmes.c +++ b/lib/libmes.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include #include #include diff --git a/lib/libtcc1.c b/lib/libtcc1.c index 1ae0fa69..64e2ce4c 100644 --- a/lib/libtcc1.c +++ b/lib/libtcc1.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include double __divdi3 (double a, double b) diff --git a/lib/linux/libc.c b/lib/linux/libc.c index 7f6a1fc7..b08db6ba 100644 --- a/lib/linux/libc.c +++ b/lib/linux/libc.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include #include diff --git a/lib/linux/x86-mes-gcc/crt0.c b/lib/linux/x86-mes-gcc/crt0.c index 668cea15..8f46282f 100644 --- a/lib/linux/x86-mes-gcc/crt0.c +++ b/lib/linux/x86-mes-gcc/crt0.c @@ -23,7 +23,7 @@ // instead of calling main, it seems to call either _main or ___main, // let's try _main first -#include +#include int _main (int argc, char *argv[]); void diff --git a/lib/linux/x86-mes-gcc/crt1.c b/lib/linux/x86-mes-gcc/crt1.c index 859469fe..a1c721e2 100644 --- a/lib/linux/x86-mes-gcc/crt1.c +++ b/lib/linux/x86-mes-gcc/crt1.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include //int main (int argc, char *argv[], char *envp[]); void diff --git a/lib/linux/x86-mes/crt1.c b/lib/linux/x86-mes/crt1.c index a93b519b..e4ef3c38 100644 --- a/lib/linux/x86-mes/crt1.c +++ b/lib/linux/x86-mes/crt1.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include "libmes-mini.h" +#include "mes/lib-mini.h" int main (int argc, char *argv[], char *envp[]); diff --git a/lib/linux/x86_64-mes-gcc/crt0.c b/lib/linux/x86_64-mes-gcc/crt0.c index d744d90c..b0fd0357 100644 --- a/lib/linux/x86_64-mes-gcc/crt0.c +++ b/lib/linux/x86_64-mes-gcc/crt0.c @@ -23,7 +23,7 @@ // instead of calling main, it seems to call either _main or ___main, // let's try _main first -#include +#include int main (int argc, char *argv[]); // gcc x86_64 calling convention: diff --git a/lib/linux/x86_64-mes-gcc/crt1.c b/lib/linux/x86_64-mes-gcc/crt1.c index 89af8e4c..ed4cacef 100644 --- a/lib/linux/x86_64-mes-gcc/crt1.c +++ b/lib/linux/x86_64-mes-gcc/crt1.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include // int main (int argc, char *argv[]); // gcc x86_64 calling convention: diff --git a/lib/linux/x86_64-mes/crt1.c b/lib/linux/x86_64-mes/crt1.c index d3bce233..6449a99d 100644 --- a/lib/linux/x86_64-mes/crt1.c +++ b/lib/linux/x86_64-mes/crt1.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include "libmes-mini.h" +#include "mes/lib-mini.h" int main (int argc, char *argv[], char *envp[]); int diff --git a/lib/mes/abtol.c b/lib/mes/abtol.c index e0c30f42..d16a6ea4 100644 --- a/lib/mes/abtol.c +++ b/lib/mes/abtol.c @@ -18,7 +18,8 @@ * along with GNU Mes. If not, see . */ -#include +#include +#include long abtol (char const **p, int base) diff --git a/lib/mes/eputc.c b/lib/mes/eputc.c index 7164fd74..05fc9837 100644 --- a/lib/mes/eputc.c +++ b/lib/mes/eputc.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int eputc (int c) diff --git a/lib/mes/eputs.c b/lib/mes/eputs.c index db7b26d5..bc3997af 100644 --- a/lib/mes/eputs.c +++ b/lib/mes/eputs.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int eputs (char const* s) diff --git a/lib/mes/fdgetc.c b/lib/mes/fdgetc.c index 09bca8b6..373474c6 100644 --- a/lib/mes/fdgetc.c +++ b/lib/mes/fdgetc.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include #include diff --git a/lib/mes/fdputc.c b/lib/mes/fdputc.c index 14f4f6f6..bd1eda43 100644 --- a/lib/mes/fdputc.c +++ b/lib/mes/fdputc.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int fdputc (int c, int fd) diff --git a/lib/mes/fdputs.c b/lib/mes/fdputs.c index 472799cd..784fc0c5 100644 --- a/lib/mes/fdputs.c +++ b/lib/mes/fdputs.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int fdputs (char const* s, int fd) diff --git a/lib/mes/fdungetc.c b/lib/mes/fdungetc.c index 06d59b28..05d28662 100644 --- a/lib/mes/fdungetc.c +++ b/lib/mes/fdungetc.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int fdungetc (int c, int fd) diff --git a/lib/mes/itoa.c b/lib/mes/itoa.c index 95b6d034..b274ac09 100644 --- a/lib/mes/itoa.c +++ b/lib/mes/itoa.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include char * itoa (int x) diff --git a/lib/mes/ltoa.c b/lib/mes/ltoa.c index 8b91566e..f4829a80 100644 --- a/lib/mes/ltoa.c +++ b/lib/mes/ltoa.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include char * ltoa (long x) diff --git a/lib/mes/ltoab.c b/lib/mes/ltoab.c index 7aee68cc..56112307 100644 --- a/lib/mes/ltoab.c +++ b/lib/mes/ltoab.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include char * ltoab (long x, int base) diff --git a/lib/mes/ntoab.c b/lib/mes/ntoab.c index 5fcfe5ac..26e60fe9 100644 --- a/lib/mes/ntoab.c +++ b/lib/mes/ntoab.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include char * ntoab (long x, int base, int signed_p) diff --git a/lib/mes/oputc.c b/lib/mes/oputc.c index ba47365a..95fc1648 100644 --- a/lib/mes/oputc.c +++ b/lib/mes/oputc.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int oputc (int c) diff --git a/lib/mes/oputs.c b/lib/mes/oputs.c index 3f5f4905..82731528 100644 --- a/lib/mes/oputs.c +++ b/lib/mes/oputs.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int oputs (char const* s) diff --git a/lib/mes/search-path.c b/lib/mes/search-path.c index 7db59578..035ac6c1 100644 --- a/lib/mes/search-path.c +++ b/lib/mes/search-path.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include char * search_path (char const *file_name) diff --git a/lib/mes/ultoa.c b/lib/mes/ultoa.c index c3099d3e..3319296b 100644 --- a/lib/mes/ultoa.c +++ b/lib/mes/ultoa.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include char * ultoa (unsigned long x) diff --git a/lib/mes/utoa.c b/lib/mes/utoa.c index 742e04ce..63370bfc 100644 --- a/lib/mes/utoa.c +++ b/lib/mes/utoa.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include char * utoa (unsigned x) diff --git a/lib/posix/execl.c b/lib/posix/execl.c index 2142acde..e5f89c1b 100644 --- a/lib/posix/execl.c +++ b/lib/posix/execl.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include int diff --git a/lib/posix/execvp.c b/lib/posix/execvp.c index 15d84604..74476d8a 100644 --- a/lib/posix/execvp.c +++ b/lib/posix/execvp.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include int diff --git a/lib/stdio/fopen.c b/lib/stdio/fopen.c index 2a73ddd3..05ec8bbf 100644 --- a/lib/stdio/fopen.c +++ b/lib/stdio/fopen.c @@ -19,7 +19,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include //#if __GNUC__ && __x86_64__ diff --git a/lib/stdio/fread.c b/lib/stdio/fread.c index 593f8ded..58a2c4c2 100644 --- a/lib/stdio/fread.c +++ b/lib/stdio/fread.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include int diff --git a/lib/stdio/fseek.c b/lib/stdio/fseek.c index f53c7b72..281bfca0 100644 --- a/lib/stdio/fseek.c +++ b/lib/stdio/fseek.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include int diff --git a/lib/stdio/fwrite.c b/lib/stdio/fwrite.c index 7fc163de..533f3fd3 100644 --- a/lib/stdio/fwrite.c +++ b/lib/stdio/fwrite.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include size_t diff --git a/lib/stdio/vfprintf.c b/lib/stdio/vfprintf.c index 1e3cc3ea..2b251246 100644 --- a/lib/stdio/vfprintf.c +++ b/lib/stdio/vfprintf.c @@ -18,6 +18,7 @@ * along with GNU Mes. If not, see . */ +#include #include #include #include diff --git a/lib/stdio/vsnprintf.c b/lib/stdio/vsnprintf.c index e949a3f5..2021227e 100644 --- a/lib/stdio/vsnprintf.c +++ b/lib/stdio/vsnprintf.c @@ -18,8 +18,9 @@ * along with GNU Mes. If not, see . */ -#include -#include +#include +#include +#include int vsnprintf (char *str, size_t size, char const* format, va_list ap) diff --git a/lib/stdio/vsscanf.c b/lib/stdio/vsscanf.c index e1604448..23aa3053 100644 --- a/lib/stdio/vsscanf.c +++ b/lib/stdio/vsscanf.c @@ -18,6 +18,7 @@ * along with GNU Mes. If not, see . */ +#include #include #include diff --git a/lib/stdlib/atoi.c b/lib/stdlib/atoi.c index cc02dca4..3f113723 100644 --- a/lib/stdlib/atoi.c +++ b/lib/stdlib/atoi.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int atoi (char const *s) diff --git a/lib/stdlib/exit.c b/lib/stdlib/exit.c index 29be6d12..252ecf92 100644 --- a/lib/stdlib/exit.c +++ b/lib/stdlib/exit.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include void (*__call_at_exit) (void); diff --git a/lib/stdlib/puts.c b/lib/stdlib/puts.c index be51f47b..d7ada8b7 100644 --- a/lib/stdlib/puts.c +++ b/lib/stdlib/puts.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int puts (char const* s) diff --git a/lib/stdlib/strtol.c b/lib/stdlib/strtol.c index 3a5f7a14..0c592b2d 100644 --- a/lib/stdlib/strtol.c +++ b/lib/stdlib/strtol.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include long diff --git a/lib/string/strlen.c b/lib/string/strlen.c index 0f6df8ad..5d9446b4 100644 --- a/lib/string/strlen.c +++ b/lib/string/strlen.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include size_t strlen (char const* s) diff --git a/lib/stub/__cleanup.c b/lib/stub/__cleanup.c index f7299fca..0b90e564 100644 --- a/lib/stub/__cleanup.c +++ b/lib/stub/__cleanup.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int __cleanup () diff --git a/lib/stub/atof.c b/lib/stub/atof.c index 3cc951d9..19f6771d 100644 --- a/lib/stub/atof.c +++ b/lib/stub/atof.c @@ -1,6 +1,6 @@ /* -*-comment-start: "//";comment-end:""-*- * GNU Mes --- Maxwell Equations of Software - * Copyright © 2018 Jan (janneke) Nieuwenhuizen + * Copyright © 2018,2019 Jan (janneke) Nieuwenhuizen * * This file is part of GNU Mes. * @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int atof (int x) diff --git a/lib/stub/chown.c b/lib/stub/chown.c index bf44169a..3fc5e4c4 100644 --- a/lib/stub/chown.c +++ b/lib/stub/chown.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include int diff --git a/lib/stub/ctime.c b/lib/stub/ctime.c index 30c7475b..859fc36c 100644 --- a/lib/stub/ctime.c +++ b/lib/stub/ctime.c @@ -18,7 +18,8 @@ * along with GNU Mes. If not, see . */ -#include +#include +#include int ctime (int x) diff --git a/lib/stub/fpurge.c b/lib/stub/fpurge.c index 991cd493..2e923da4 100644 --- a/lib/stub/fpurge.c +++ b/lib/stub/fpurge.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include int diff --git a/lib/stub/freadahead.c b/lib/stub/freadahead.c index 136b03a7..0c3f9969 100644 --- a/lib/stub/freadahead.c +++ b/lib/stub/freadahead.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include size_t diff --git a/lib/stub/frexp.c b/lib/stub/frexp.c index 22c1e6cf..f26e1aea 100644 --- a/lib/stub/frexp.c +++ b/lib/stub/frexp.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int frexp (int x) diff --git a/lib/stub/fscanf.c b/lib/stub/fscanf.c index daae853d..c6497483 100644 --- a/lib/stub/fscanf.c +++ b/lib/stub/fscanf.c @@ -18,8 +18,8 @@ * along with GNU Mes. If not, see . */ -#include -#include +#include +#include int fscanf (FILE *stream, char const *template, ...) diff --git a/lib/stub/getlogin.c b/lib/stub/getlogin.c index 725929f7..5420f320 100644 --- a/lib/stub/getlogin.c +++ b/lib/stub/getlogin.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include char * diff --git a/lib/stub/getpwnam.c b/lib/stub/getpwnam.c index 472b42aa..c37d895f 100644 --- a/lib/stub/getpwnam.c +++ b/lib/stub/getpwnam.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include struct passwd * diff --git a/lib/stub/getpwuid.c b/lib/stub/getpwuid.c index 647fd54e..4081ffa3 100644 --- a/lib/stub/getpwuid.c +++ b/lib/stub/getpwuid.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include struct passwd * diff --git a/lib/stub/gmtime.c b/lib/stub/gmtime.c index 85e45ddd..c1b262b9 100644 --- a/lib/stub/gmtime.c +++ b/lib/stub/gmtime.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include #include diff --git a/lib/stub/ldexp.c b/lib/stub/ldexp.c index 9e28e4c5..d7c4c071 100644 --- a/lib/stub/ldexp.c +++ b/lib/stub/ldexp.c @@ -18,8 +18,8 @@ * along with GNU Mes. If not, see . */ -#include -#include +#include +#include double ldexp (double x, int exp) diff --git a/lib/stub/localtime.c b/lib/stub/localtime.c index 5010557c..308ef400 100644 --- a/lib/stub/localtime.c +++ b/lib/stub/localtime.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include #include diff --git a/lib/stub/mprotect.c b/lib/stub/mprotect.c index 09ce99a0..c3a66eae 100644 --- a/lib/stub/mprotect.c +++ b/lib/stub/mprotect.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include int diff --git a/lib/stub/pclose.c b/lib/stub/pclose.c index 244bcc74..88806f6b 100644 --- a/lib/stub/pclose.c +++ b/lib/stub/pclose.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int pclose (int x) diff --git a/lib/stub/popen.c b/lib/stub/popen.c index 294a24c3..ee4cf63d 100644 --- a/lib/stub/popen.c +++ b/lib/stub/popen.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int popen (int x) diff --git a/lib/stub/rand.c b/lib/stub/rand.c index 2e07282f..21365edb 100644 --- a/lib/stub/rand.c +++ b/lib/stub/rand.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include int diff --git a/lib/stub/rewind.c b/lib/stub/rewind.c index e62d3fb8..b0027551 100644 --- a/lib/stub/rewind.c +++ b/lib/stub/rewind.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int rewind (int x) diff --git a/lib/stub/setbuf.c b/lib/stub/setbuf.c index debf05b7..b0d3e4bc 100644 --- a/lib/stub/setbuf.c +++ b/lib/stub/setbuf.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int setbuf (int x) diff --git a/lib/stub/setlocale.c b/lib/stub/setlocale.c index e4fe783f..7005ba43 100644 --- a/lib/stub/setlocale.c +++ b/lib/stub/setlocale.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include char * diff --git a/lib/stub/setvbuf.c b/lib/stub/setvbuf.c index 1abe6639..66751b91 100644 --- a/lib/stub/setvbuf.c +++ b/lib/stub/setvbuf.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include int diff --git a/lib/stub/sigaction.c b/lib/stub/sigaction.c index 683ddf35..304392e5 100644 --- a/lib/stub/sigaction.c +++ b/lib/stub/sigaction.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include int diff --git a/lib/stub/sigaddset.c b/lib/stub/sigaddset.c index 063c5ac9..3259a054 100644 --- a/lib/stub/sigaddset.c +++ b/lib/stub/sigaddset.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include int diff --git a/lib/stub/sigblock.c b/lib/stub/sigblock.c index 766b1c87..241331af 100644 --- a/lib/stub/sigblock.c +++ b/lib/stub/sigblock.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include int diff --git a/lib/stub/sigdelset.c b/lib/stub/sigdelset.c index a9335a2c..78312e0e 100644 --- a/lib/stub/sigdelset.c +++ b/lib/stub/sigdelset.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include int diff --git a/lib/stub/sigemptyset.c b/lib/stub/sigemptyset.c index 337e3f8c..de7f2a29 100644 --- a/lib/stub/sigemptyset.c +++ b/lib/stub/sigemptyset.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include int diff --git a/lib/stub/sigsetmask.c b/lib/stub/sigsetmask.c index 4c6b570c..f455ce06 100644 --- a/lib/stub/sigsetmask.c +++ b/lib/stub/sigsetmask.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int sigsetmask (int x) diff --git a/lib/stub/strftime.c b/lib/stub/strftime.c index ad7a26be..02b16cc6 100644 --- a/lib/stub/strftime.c +++ b/lib/stub/strftime.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include size_t strftime (char *s, size_t size, char const *template, diff --git a/lib/stub/strtod.c b/lib/stub/strtod.c index 9a74fe0f..4638fcae 100644 --- a/lib/stub/strtod.c +++ b/lib/stub/strtod.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include double diff --git a/lib/stub/sys_siglist.c b/lib/stub/sys_siglist.c index 6f4aef35..97411002 100644 --- a/lib/stub/sys_siglist.c +++ b/lib/stub/sys_siglist.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int sys_siglist (int x) diff --git a/lib/stub/system.c b/lib/stub/system.c index 401854aa..8cfdd1de 100644 --- a/lib/stub/system.c +++ b/lib/stub/system.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int system (int x) diff --git a/lib/stub/times.c b/lib/stub/times.c index 4de69cbd..3aed3f48 100644 --- a/lib/stub/times.c +++ b/lib/stub/times.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include #include diff --git a/lib/stub/ttyname.c b/lib/stub/ttyname.c index 093e5c06..12359387 100644 --- a/lib/stub/ttyname.c +++ b/lib/stub/ttyname.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include char * diff --git a/lib/stub/umask.c b/lib/stub/umask.c index 41c736b6..ca2e2ec9 100644 --- a/lib/stub/umask.c +++ b/lib/stub/umask.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int umask (int x) diff --git a/lib/stub/utime.c b/lib/stub/utime.c index 67247c9a..06c8a67a 100644 --- a/lib/stub/utime.c +++ b/lib/stub/utime.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int utime (int x) diff --git a/lib/tests/assert/50-assert.c b/lib/tests/assert/50-assert.c index 73c197d8..7b5c7a98 100644 --- a/lib/tests/assert/50-assert.c +++ b/lib/tests/assert/50-assert.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include #include diff --git a/lib/tests/dirent/90-readdir.c b/lib/tests/dirent/90-readdir.c index 5b4043be..3e89e1d5 100644 --- a/lib/tests/dirent/90-readdir.c +++ b/lib/tests/dirent/90-readdir.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include #include diff --git a/lib/tests/mes/30-oputs.c b/lib/tests/mes/30-oputs.c index 62c2811f..eaa5df34 100644 --- a/lib/tests/mes/30-oputs.c +++ b/lib/tests/mes/30-oputs.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #if 0 #include diff --git a/lib/tests/mes/50-itoa.c b/lib/tests/mes/50-itoa.c index dd856fb2..bd4a1be1 100644 --- a/lib/tests/mes/50-itoa.c +++ b/lib/tests/mes/50-itoa.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include int diff --git a/lib/tests/posix/50-getenv.c b/lib/tests/posix/50-getenv.c index 2397c164..e1c74344 100644 --- a/lib/tests/posix/50-getenv.c +++ b/lib/tests/posix/50-getenv.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include "libmes.h" +#include "mes/lib.h" #include "stdlib.h" int diff --git a/lib/tests/posix/90-unsetenv.c b/lib/tests/posix/90-unsetenv.c index ccf8f828..2ec154ee 100644 --- a/lib/tests/posix/90-unsetenv.c +++ b/lib/tests/posix/90-unsetenv.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include #include #include diff --git a/lib/tests/setjmp/80-setjmp.c b/lib/tests/setjmp/80-setjmp.c index 8c07349c..64228846 100644 --- a/lib/tests/setjmp/80-setjmp.c +++ b/lib/tests/setjmp/80-setjmp.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include #include diff --git a/lib/tests/signal/90-signal.c b/lib/tests/signal/90-signal.c index 380209d6..fb6e3a7f 100644 --- a/lib/tests/signal/90-signal.c +++ b/lib/tests/signal/90-signal.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include #include #include diff --git a/lib/tests/stdio/70-printf-hello.c b/lib/tests/stdio/70-printf-hello.c index f61246af..598ba355 100644 --- a/lib/tests/stdio/70-printf-hello.c +++ b/lib/tests/stdio/70-printf-hello.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include #include diff --git a/lib/tests/stdio/70-printf-simple.c b/lib/tests/stdio/70-printf-simple.c index 02814bc0..aba3bae5 100644 --- a/lib/tests/stdio/70-printf-simple.c +++ b/lib/tests/stdio/70-printf-simple.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include #include diff --git a/lib/tests/stdio/70-printf.c b/lib/tests/stdio/70-printf.c index a44e516b..43a482b7 100644 --- a/lib/tests/stdio/70-printf.c +++ b/lib/tests/stdio/70-printf.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include #include diff --git a/lib/tests/stdio/80-sscanf.c b/lib/tests/stdio/80-sscanf.c index 7691eba2..7d8acaac 100644 --- a/lib/tests/stdio/80-sscanf.c +++ b/lib/tests/stdio/80-sscanf.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include #include diff --git a/lib/tests/stdio/90-fopen-append.c b/lib/tests/stdio/90-fopen-append.c index 23f77780..7226578f 100644 --- a/lib/tests/stdio/90-fopen-append.c +++ b/lib/tests/stdio/90-fopen-append.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include #include #include diff --git a/lib/tests/stdio/90-fopen.c b/lib/tests/stdio/90-fopen.c index 2b1dc1be..b304c9b4 100644 --- a/lib/tests/stdio/90-fopen.c +++ b/lib/tests/stdio/90-fopen.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include #include diff --git a/lib/tests/stdio/90-fread-fwrite.c b/lib/tests/stdio/90-fread-fwrite.c index 60bced5c..dfd507e2 100644 --- a/lib/tests/stdio/90-fread-fwrite.c +++ b/lib/tests/stdio/90-fread-fwrite.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include #include #include diff --git a/lib/tests/stdio/90-fseek.c b/lib/tests/stdio/90-fseek.c index be3f5a54..6e4318d0 100644 --- a/lib/tests/stdio/90-fseek.c +++ b/lib/tests/stdio/90-fseek.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include #include #include diff --git a/lib/tests/stdlib/50-malloc.c b/lib/tests/stdlib/50-malloc.c index fd3cb8e3..c3af98f4 100644 --- a/lib/tests/stdlib/50-malloc.c +++ b/lib/tests/stdlib/50-malloc.c @@ -22,7 +22,7 @@ #error "WITH_GLIBC not supported" #endif -#include +#include #include #include diff --git a/lib/tests/stdlib/70-strtoull.c b/lib/tests/stdlib/70-strtoull.c index 20b98645..bc88e8ae 100644 --- a/lib/tests/stdlib/70-strtoull.c +++ b/lib/tests/stdlib/70-strtoull.c @@ -18,8 +18,8 @@ * along with GNU Mes. If not, see . */ -#include -#include +#include +#include #include #include #include diff --git a/lib/tests/stdlib/80-qsort-dupes.c b/lib/tests/stdlib/80-qsort-dupes.c index 7a949023..96934547 100644 --- a/lib/tests/stdlib/80-qsort-dupes.c +++ b/lib/tests/stdlib/80-qsort-dupes.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include int diff --git a/lib/tests/stdlib/80-qsort.c b/lib/tests/stdlib/80-qsort.c index aab1dc7a..1cc0f4e8 100644 --- a/lib/tests/stdlib/80-qsort.c +++ b/lib/tests/stdlib/80-qsort.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include diff --git a/lib/tests/stdlib/90-strtol.c b/lib/tests/stdlib/90-strtol.c index 3dcdd6a0..c1fefc68 100644 --- a/lib/tests/stdlib/90-strtol.c +++ b/lib/tests/stdlib/90-strtol.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include int diff --git a/lib/tests/string/30-strlen.c b/lib/tests/string/30-strlen.c index da3b7a09..09f798af 100644 --- a/lib/tests/string/30-strlen.c +++ b/lib/tests/string/30-strlen.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int main () diff --git a/lib/tests/string/50-strcmp.c b/lib/tests/string/50-strcmp.c index 0d464f3c..2240a006 100644 --- a/lib/tests/string/50-strcmp.c +++ b/lib/tests/string/50-strcmp.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include diff --git a/lib/tests/string/50-strcpy.c b/lib/tests/string/50-strcpy.c index 44fb1a53..8f1a02c8 100644 --- a/lib/tests/string/50-strcpy.c +++ b/lib/tests/string/50-strcpy.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include int diff --git a/lib/tests/string/50-strncmp.c b/lib/tests/string/50-strncmp.c index 37cbe949..3fac20cc 100644 --- a/lib/tests/string/50-strncmp.c +++ b/lib/tests/string/50-strncmp.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include int diff --git a/lib/tests/string/70-strchr.c b/lib/tests/string/70-strchr.c index 708f62c6..5275e533 100644 --- a/lib/tests/string/70-strchr.c +++ b/lib/tests/string/70-strchr.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include #define strchr xstrchr diff --git a/lib/tests/string/80-strncpy.c b/lib/tests/string/80-strncpy.c index ccccecf5..28ad9fa4 100644 --- a/lib/tests/string/80-strncpy.c +++ b/lib/tests/string/80-strncpy.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include #include diff --git a/lib/tests/string/90-snprintf.c b/lib/tests/string/90-snprintf.c index 4a552345..54410d14 100644 --- a/lib/tests/string/90-snprintf.c +++ b/lib/tests/string/90-snprintf.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include #include diff --git a/scaffold/argv.c b/scaffold/argv.c index 3abee39c..43437a52 100644 --- a/scaffold/argv.c +++ b/scaffold/argv.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include int diff --git a/scaffold/cons-mes.c b/scaffold/cons-mes.c index 41b3506d..59532cdb 100644 --- a/scaffold/cons-mes.c +++ b/scaffold/cons-mes.c @@ -26,7 +26,7 @@ #include #include #include -#include +#include char arena[2000]; diff --git a/scaffold/lib/stdlib/malloc.c b/scaffold/lib/stdlib/malloc.c index b3f26128..b3fc3966 100644 --- a/scaffold/lib/stdlib/malloc.c +++ b/scaffold/lib/stdlib/malloc.c @@ -22,7 +22,7 @@ #error "WITH_GLIBC not supported" #endif -#include +#include #include #include diff --git a/scaffold/tests/17-compare-assign.c b/scaffold/tests/17-compare-assign.c index e36fbb66..a0e8a8fd 100644 --- a/scaffold/tests/17-compare-assign.c +++ b/scaffold/tests/17-compare-assign.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int test (int i) diff --git a/scaffold/tests/17-compare-call.c b/scaffold/tests/17-compare-call.c index 050d30b2..c56e7384 100644 --- a/scaffold/tests/17-compare-call.c +++ b/scaffold/tests/17-compare-call.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int test (int i) diff --git a/scaffold/tests/18-assign-shadow.c b/scaffold/tests/18-assign-shadow.c index 58f46bf8..c778ca0a 100644 --- a/scaffold/tests/18-assign-shadow.c +++ b/scaffold/tests/18-assign-shadow.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int main () diff --git a/scaffold/tests/23-pointer-sub.c b/scaffold/tests/23-pointer-sub.c index 9c9ff108..996f7414 100644 --- a/scaffold/tests/23-pointer-sub.c +++ b/scaffold/tests/23-pointer-sub.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int main () diff --git a/scaffold/tests/32-call-wrap.c b/scaffold/tests/32-call-wrap.c index f0755cdd..0aa4603c 100644 --- a/scaffold/tests/32-call-wrap.c +++ b/scaffold/tests/32-call-wrap.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include long wrap (long a) diff --git a/scaffold/tests/32-compare.c b/scaffold/tests/32-compare.c index 8cb3e5fe..9644cdf6 100644 --- a/scaffold/tests/32-compare.c +++ b/scaffold/tests/32-compare.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int isid (char c) diff --git a/scaffold/tests/33-and-or.c b/scaffold/tests/33-and-or.c index 4c3df22f..8f90f05b 100644 --- a/scaffold/tests/33-and-or.c +++ b/scaffold/tests/33-and-or.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int main () diff --git a/scaffold/tests/34-pre-post.c b/scaffold/tests/34-pre-post.c index dcb52608..6e17654b 100644 --- a/scaffold/tests/34-pre-post.c +++ b/scaffold/tests/34-pre-post.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int main () diff --git a/scaffold/tests/35-compare-char.c b/scaffold/tests/35-compare-char.c index d28ad4c8..04f24e7e 100644 --- a/scaffold/tests/35-compare-char.c +++ b/scaffold/tests/35-compare-char.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include char g_arena[10]; char *g_chars = g_arena; diff --git a/scaffold/tests/36-compare-arithmetic.c b/scaffold/tests/36-compare-arithmetic.c index d9ad96f8..c54ff695 100644 --- a/scaffold/tests/36-compare-arithmetic.c +++ b/scaffold/tests/36-compare-arithmetic.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int main () diff --git a/scaffold/tests/37-compare-assign.c b/scaffold/tests/37-compare-assign.c index a09a365b..f9c15f29 100644 --- a/scaffold/tests/37-compare-assign.c +++ b/scaffold/tests/37-compare-assign.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int main () diff --git a/scaffold/tests/38-compare-call-2.c b/scaffold/tests/38-compare-call-2.c index 6e0f48f8..7368449b 100644 --- a/scaffold/tests/38-compare-call-2.c +++ b/scaffold/tests/38-compare-call-2.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int add (int a, int b) diff --git a/scaffold/tests/38-compare-call-3.c b/scaffold/tests/38-compare-call-3.c index 026a5e8b..01cd5b33 100644 --- a/scaffold/tests/38-compare-call-3.c +++ b/scaffold/tests/38-compare-call-3.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int add (int a, int b) diff --git a/scaffold/tests/38-compare-call.c b/scaffold/tests/38-compare-call.c index 1ec1acee..174b876a 100644 --- a/scaffold/tests/38-compare-call.c +++ b/scaffold/tests/38-compare-call.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include enum type_t {TCHAR, TCLOSURE, TCONTINUATION, TFUNCTION, TKEYWORD, TMACRO, TNUMBER, TPAIR, TREF, TSPECIAL, TSTRING, TSYMBOL, TVALUES, TVECTOR, TBROKEN_HEART}; diff --git a/scaffold/tests/40-if-else.c b/scaffold/tests/40-if-else.c index a55940d9..ba09d45e 100644 --- a/scaffold/tests/40-if-else.c +++ b/scaffold/tests/40-if-else.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int main () diff --git a/scaffold/tests/41-ternary.c b/scaffold/tests/41-ternary.c index df451b41..91053570 100644 --- a/scaffold/tests/41-ternary.c +++ b/scaffold/tests/41-ternary.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int main () diff --git a/scaffold/tests/42-goto-label.c b/scaffold/tests/42-goto-label.c index b660184c..75c3297f 100644 --- a/scaffold/tests/42-goto-label.c +++ b/scaffold/tests/42-goto-label.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int label (int c) diff --git a/scaffold/tests/43-for-do-while.c b/scaffold/tests/43-for-do-while.c index 36db0af8..81a62661 100644 --- a/scaffold/tests/43-for-do-while.c +++ b/scaffold/tests/43-for-do-while.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int main () diff --git a/scaffold/tests/44-switch-body-fallthrough.c b/scaffold/tests/44-switch-body-fallthrough.c index 13b609f2..affa844b 100644 --- a/scaffold/tests/44-switch-body-fallthrough.c +++ b/scaffold/tests/44-switch-body-fallthrough.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int main () diff --git a/scaffold/tests/44-switch-fallthrough.c b/scaffold/tests/44-switch-fallthrough.c index c3c7b051..5ac83ff7 100644 --- a/scaffold/tests/44-switch-fallthrough.c +++ b/scaffold/tests/44-switch-fallthrough.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int main () diff --git a/scaffold/tests/44-switch.c b/scaffold/tests/44-switch.c index ad867b75..6f238d8d 100644 --- a/scaffold/tests/44-switch.c +++ b/scaffold/tests/44-switch.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include enum type_t {TCHAR, TCLOSURE, TCONTINUATION, TFUNCTION, TKEYWORD, TMACRO, TNUMBER, TPAIR, TREF, TSPECIAL, TSTRING, TSYMBOL, TVALUES, TVECTOR, TBROKEN_HEART}; diff --git a/scaffold/tests/45-void-call.c b/scaffold/tests/45-void-call.c index ea0a66de..515bf9a8 100644 --- a/scaffold/tests/45-void-call.c +++ b/scaffold/tests/45-void-call.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include void void_func () diff --git a/scaffold/tests/51-pointer-sub.c b/scaffold/tests/51-pointer-sub.c index d02f2028..c289d239 100644 --- a/scaffold/tests/51-pointer-sub.c +++ b/scaffold/tests/51-pointer-sub.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int main () diff --git a/scaffold/tests/54-argc.c b/scaffold/tests/54-argc.c index a6d58654..3388a02e 100644 --- a/scaffold/tests/54-argc.c +++ b/scaffold/tests/54-argc.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include #include diff --git a/scaffold/tests/54-argv.c b/scaffold/tests/54-argv.c index 5af208a7..cdabdc39 100644 --- a/scaffold/tests/54-argv.c +++ b/scaffold/tests/54-argv.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include #include diff --git a/scaffold/tests/60-math.c b/scaffold/tests/60-math.c index 0779c4ec..dd06370c 100644 --- a/scaffold/tests/60-math.c +++ b/scaffold/tests/60-math.c @@ -22,7 +22,7 @@ #include #include -#include +#include int add (int a, int b) diff --git a/scaffold/tests/61-array.c b/scaffold/tests/61-array.c index 6f024ab6..754393f9 100644 --- a/scaffold/tests/61-array.c +++ b/scaffold/tests/61-array.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include #include diff --git a/scaffold/tests/63-struct-array-assign.c b/scaffold/tests/63-struct-array-assign.c index a226e909..093c2a67 100644 --- a/scaffold/tests/63-struct-array-assign.c +++ b/scaffold/tests/63-struct-array-assign.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include struct scm { diff --git a/scaffold/tests/63-struct-array-compare.c b/scaffold/tests/63-struct-array-compare.c index d875a383..d0db546c 100644 --- a/scaffold/tests/63-struct-array-compare.c +++ b/scaffold/tests/63-struct-array-compare.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include struct scm { diff --git a/scaffold/tests/63-struct-array.c b/scaffold/tests/63-struct-array.c index 079e70a3..eb6aecd5 100644 --- a/scaffold/tests/63-struct-array.c +++ b/scaffold/tests/63-struct-array.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include struct scm { diff --git a/scaffold/tests/63-struct-assign.c b/scaffold/tests/63-struct-assign.c index 30067d28..6c17d706 100644 --- a/scaffold/tests/63-struct-assign.c +++ b/scaffold/tests/63-struct-assign.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include struct scm { diff --git a/scaffold/tests/63-struct-cell.c b/scaffold/tests/63-struct-cell.c index 7bd36913..2b5a3004 100644 --- a/scaffold/tests/63-struct-cell.c +++ b/scaffold/tests/63-struct-cell.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include #include diff --git a/scaffold/tests/63-struct-function.c b/scaffold/tests/63-struct-function.c index 783924ba..1e0d6524 100644 --- a/scaffold/tests/63-struct-function.c +++ b/scaffold/tests/63-struct-function.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include struct function diff --git a/scaffold/tests/63-struct-local.c b/scaffold/tests/63-struct-local.c index 88ea6249..52c8a14c 100644 --- a/scaffold/tests/63-struct-local.c +++ b/scaffold/tests/63-struct-local.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include struct scm { diff --git a/scaffold/tests/63-struct-pointer.c b/scaffold/tests/63-struct-pointer.c index d25be347..8e9115ec 100644 --- a/scaffold/tests/63-struct-pointer.c +++ b/scaffold/tests/63-struct-pointer.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include struct scm { diff --git a/scaffold/tests/63-struct.c b/scaffold/tests/63-struct.c index df76d544..2b339237 100644 --- a/scaffold/tests/63-struct.c +++ b/scaffold/tests/63-struct.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include struct scm { diff --git a/scaffold/tests/64-make-cell.c b/scaffold/tests/64-make-cell.c index 5d006863..5845c98d 100644 --- a/scaffold/tests/64-make-cell.c +++ b/scaffold/tests/64-make-cell.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include #include diff --git a/scaffold/tests/65-read.c b/scaffold/tests/65-read.c index 4574321f..a492fa1e 100644 --- a/scaffold/tests/65-read.c +++ b/scaffold/tests/65-read.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include #include diff --git a/scaffold/tests/66-local-char-array.c b/scaffold/tests/66-local-char-array.c index ad4153ec..71d26db2 100644 --- a/scaffold/tests/66-local-char-array.c +++ b/scaffold/tests/66-local-char-array.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include #include diff --git a/scaffold/tests/70-stdarg.c b/scaffold/tests/70-stdarg.c index 316efaca..3c2c9ff0 100644 --- a/scaffold/tests/70-stdarg.c +++ b/scaffold/tests/70-stdarg.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include int diff --git a/scaffold/tests/71-struct-array.c b/scaffold/tests/71-struct-array.c index dc7c8837..cedabb34 100644 --- a/scaffold/tests/71-struct-array.c +++ b/scaffold/tests/71-struct-array.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include #include diff --git a/scaffold/tests/72-typedef-struct-def.c b/scaffold/tests/72-typedef-struct-def.c index f6a29210..dd46f0a0 100644 --- a/scaffold/tests/72-typedef-struct-def.c +++ b/scaffold/tests/72-typedef-struct-def.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include typedef struct foo diff --git a/scaffold/tests/73-union-hello.c b/scaffold/tests/73-union-hello.c index 05fee0ce..19205f0c 100644 --- a/scaffold/tests/73-union-hello.c +++ b/scaffold/tests/73-union-hello.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include typedef union foo { diff --git a/scaffold/tests/73-union.c b/scaffold/tests/73-union.c index 02dcfe37..3c446488 100644 --- a/scaffold/tests/73-union.c +++ b/scaffold/tests/73-union.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include typedef union foo diff --git a/scaffold/tests/74-multi-line-string.c b/scaffold/tests/74-multi-line-string.c index 951342db..ba2bfa82 100644 --- a/scaffold/tests/74-multi-line-string.c +++ b/scaffold/tests/74-multi-line-string.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include #include diff --git a/scaffold/tests/75-struct-union.c b/scaffold/tests/75-struct-union.c index ae146745..08f89399 100644 --- a/scaffold/tests/75-struct-union.c +++ b/scaffold/tests/75-struct-union.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include union u { diff --git a/scaffold/tests/76-pointer-arithmetic-pp.c b/scaffold/tests/76-pointer-arithmetic-pp.c index aa7b11db..57978762 100644 --- a/scaffold/tests/76-pointer-arithmetic-pp.c +++ b/scaffold/tests/76-pointer-arithmetic-pp.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #define ptr_size sizeof (void*) diff --git a/scaffold/tests/76-pointer-arithmetic.c b/scaffold/tests/76-pointer-arithmetic.c index 50769a1f..d76c494e 100644 --- a/scaffold/tests/76-pointer-arithmetic.c +++ b/scaffold/tests/76-pointer-arithmetic.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include char *list[2] = {"foo\n", "bar\n"}; diff --git a/scaffold/tests/77-pointer-assign.c b/scaffold/tests/77-pointer-assign.c index 053f3c37..ad9a6008 100644 --- a/scaffold/tests/77-pointer-assign.c +++ b/scaffold/tests/77-pointer-assign.c @@ -20,7 +20,7 @@ #include -#include +#include struct baz { int i; diff --git a/scaffold/tests/78-union-struct.c b/scaffold/tests/78-union-struct.c index 3dcbb5bc..cd623b21 100644 --- a/scaffold/tests/78-union-struct.c +++ b/scaffold/tests/78-union-struct.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include diff --git a/scaffold/tests/79-int-array-simple.c b/scaffold/tests/79-int-array-simple.c index 9f0bd23e..a0579283 100644 --- a/scaffold/tests/79-int-array-simple.c +++ b/scaffold/tests/79-int-array-simple.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int bla[2] = {0,-1}; diff --git a/scaffold/tests/79-int-array.c b/scaffold/tests/79-int-array.c index 4fdd6fa7..bb696092 100644 --- a/scaffold/tests/79-int-array.c +++ b/scaffold/tests/79-int-array.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include #include diff --git a/scaffold/tests/7a-struct-char-array.c b/scaffold/tests/7a-struct-char-array.c index 9c37f290..6bea556f 100644 --- a/scaffold/tests/7a-struct-char-array.c +++ b/scaffold/tests/7a-struct-char-array.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include #include diff --git a/scaffold/tests/7b-struct-int-array-hello.c b/scaffold/tests/7b-struct-int-array-hello.c index f841e6eb..9ea1d444 100644 --- a/scaffold/tests/7b-struct-int-array-hello.c +++ b/scaffold/tests/7b-struct-int-array-hello.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include struct foo { diff --git a/scaffold/tests/7b-struct-int-array-pointer.c b/scaffold/tests/7b-struct-int-array-pointer.c index 2a2c6cf0..0b770711 100644 --- a/scaffold/tests/7b-struct-int-array-pointer.c +++ b/scaffold/tests/7b-struct-int-array-pointer.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include struct bar { diff --git a/scaffold/tests/7b-struct-int-array.c b/scaffold/tests/7b-struct-int-array.c index dde92872..bf8b66ed 100644 --- a/scaffold/tests/7b-struct-int-array.c +++ b/scaffold/tests/7b-struct-int-array.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include struct foo { diff --git a/scaffold/tests/7c-dynarray.c b/scaffold/tests/7c-dynarray.c index 26a250d7..a6406526 100644 --- a/scaffold/tests/7c-dynarray.c +++ b/scaffold/tests/7c-dynarray.c @@ -18,9 +18,9 @@ * along with GNU Mes. If not, see . */ -#include +#include -#include +#include #include #include #include diff --git a/scaffold/tests/7d-cast-char.c b/scaffold/tests/7d-cast-char.c index e3062c03..b7ae799f 100644 --- a/scaffold/tests/7d-cast-char.c +++ b/scaffold/tests/7d-cast-char.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int main () diff --git a/scaffold/tests/7e-struct-array-access.c b/scaffold/tests/7e-struct-array-access.c index f54be651..41862439 100644 --- a/scaffold/tests/7e-struct-array-access.c +++ b/scaffold/tests/7e-struct-array-access.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include #include diff --git a/scaffold/tests/7f-struct-pointer-arithmetic.c b/scaffold/tests/7f-struct-pointer-arithmetic.c index 8738ed4a..6ddd9549 100644 --- a/scaffold/tests/7f-struct-pointer-arithmetic.c +++ b/scaffold/tests/7f-struct-pointer-arithmetic.c @@ -18,9 +18,9 @@ * along with GNU Mes. If not, see . */ -#include +#include -#include +#include #include struct foo; diff --git a/scaffold/tests/7g-struct-byte-word-field.c b/scaffold/tests/7g-struct-byte-word-field.c index de854e40..6336a2bd 100644 --- a/scaffold/tests/7g-struct-byte-word-field.c +++ b/scaffold/tests/7g-struct-byte-word-field.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include #include diff --git a/scaffold/tests/7h-struct-assign.c b/scaffold/tests/7h-struct-assign.c index 5cb51db4..03f13162 100644 --- a/scaffold/tests/7h-struct-assign.c +++ b/scaffold/tests/7h-struct-assign.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include struct string { diff --git a/scaffold/tests/7i-struct-struct-simple.c b/scaffold/tests/7i-struct-struct-simple.c index e5abba7d..a4a46af0 100644 --- a/scaffold/tests/7i-struct-struct-simple.c +++ b/scaffold/tests/7i-struct-struct-simple.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include diff --git a/scaffold/tests/7i-struct-struct.c b/scaffold/tests/7i-struct-struct.c index 4c573a14..00518666 100644 --- a/scaffold/tests/7i-struct-struct.c +++ b/scaffold/tests/7i-struct-struct.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include diff --git a/scaffold/tests/7k-for-each-elem-simple.c b/scaffold/tests/7k-for-each-elem-simple.c index dbc3b053..7f0e3c1b 100644 --- a/scaffold/tests/7k-for-each-elem-simple.c +++ b/scaffold/tests/7k-for-each-elem-simple.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #include #include diff --git a/scaffold/tests/7k-for-each-elem.c b/scaffold/tests/7k-for-each-elem.c index 14c5cf96..c963fcb3 100644 --- a/scaffold/tests/7k-for-each-elem.c +++ b/scaffold/tests/7k-for-each-elem.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include struct section { diff --git a/scaffold/tests/7l-struct-any-size-array-simple.c b/scaffold/tests/7l-struct-any-size-array-simple.c index c1636ad1..cbfab19a 100644 --- a/scaffold/tests/7l-struct-any-size-array-simple.c +++ b/scaffold/tests/7l-struct-any-size-array-simple.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #if __MESC__ #define __attribute__(x) diff --git a/scaffold/tests/7l-struct-any-size-array.c b/scaffold/tests/7l-struct-any-size-array.c index 49da1484..9c48f077 100644 --- a/scaffold/tests/7l-struct-any-size-array.c +++ b/scaffold/tests/7l-struct-any-size-array.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #if __MESC__ #define __attribute__(x) diff --git a/scaffold/tests/7m-struct-char-array-assign.c b/scaffold/tests/7m-struct-char-array-assign.c index f7865179..29247904 100644 --- a/scaffold/tests/7m-struct-char-array-assign.c +++ b/scaffold/tests/7m-struct-char-array-assign.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include struct file { char *ptr; diff --git a/scaffold/tests/7n-struct-struct-array.c b/scaffold/tests/7n-struct-struct-array.c index b56751cf..d2f3444a 100644 --- a/scaffold/tests/7n-struct-struct-array.c +++ b/scaffold/tests/7n-struct-struct-array.c @@ -18,9 +18,9 @@ * along with GNU Mes. If not, see . */ -#include +#include -#include +#include #include #include #include diff --git a/scaffold/tests/7o-struct-pre-post-simple.c b/scaffold/tests/7o-struct-pre-post-simple.c index ec0e26d4..e93b930f 100644 --- a/scaffold/tests/7o-struct-pre-post-simple.c +++ b/scaffold/tests/7o-struct-pre-post-simple.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include struct info {int flag;}; struct foo {int length; char* string; struct info info;}; diff --git a/scaffold/tests/7o-struct-pre-post.c b/scaffold/tests/7o-struct-pre-post.c index 69ab0fab..68a8e464 100644 --- a/scaffold/tests/7o-struct-pre-post.c +++ b/scaffold/tests/7o-struct-pre-post.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include struct info {int flag;}; struct foo {int length; char* string; struct info info;}; diff --git a/scaffold/tests/7u-call-ternary.c b/scaffold/tests/7u-call-ternary.c index 4915cfe8..7a725724 100644 --- a/scaffold/tests/7u-call-ternary.c +++ b/scaffold/tests/7u-call-ternary.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int test (int i) diff --git a/scaffold/tests/7u-inc-byte-word.c b/scaffold/tests/7u-inc-byte-word.c index 3ef9a297..93b09baa 100644 --- a/scaffold/tests/7u-inc-byte-word.c +++ b/scaffold/tests/7u-inc-byte-word.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int main () diff --git a/scaffold/tests/7u-struct-size10.c b/scaffold/tests/7u-struct-size10.c index 70bf77b6..bb011115 100644 --- a/scaffold/tests/7u-struct-size10.c +++ b/scaffold/tests/7u-struct-size10.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include struct foo { diff --git a/scaffold/tests/7u-ternary-expression.c b/scaffold/tests/7u-ternary-expression.c index a4b5f894..8f6acd6a 100644 --- a/scaffold/tests/7u-ternary-expression.c +++ b/scaffold/tests/7u-ternary-expression.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int main () diff --git a/scaffold/tests/7u-vstack.c b/scaffold/tests/7u-vstack.c index 52563515..fe345288 100644 --- a/scaffold/tests/7u-vstack.c +++ b/scaffold/tests/7u-vstack.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include struct foo { diff --git a/scaffold/tests/a0-call-trunc-char.c b/scaffold/tests/a0-call-trunc-char.c index 7369513c..e00172c5 100644 --- a/scaffold/tests/a0-call-trunc-char.c +++ b/scaffold/tests/a0-call-trunc-char.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int f (unsigned char x) diff --git a/scaffold/tests/a0-call-trunc-int.c b/scaffold/tests/a0-call-trunc-int.c index d49b385a..b21dd0f9 100644 --- a/scaffold/tests/a0-call-trunc-int.c +++ b/scaffold/tests/a0-call-trunc-int.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include long f (unsigned int x) diff --git a/scaffold/tests/a0-call-trunc-short.c b/scaffold/tests/a0-call-trunc-short.c index 37284af4..13755c90 100644 --- a/scaffold/tests/a0-call-trunc-short.c +++ b/scaffold/tests/a0-call-trunc-short.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include int f (unsigned short x) diff --git a/scaffold/tests/a1-global-no-align.c b/scaffold/tests/a1-global-no-align.c index 1d40bf52..89314db9 100644 --- a/scaffold/tests/a1-global-no-align.c +++ b/scaffold/tests/a1-global-no-align.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include short foo; short bar; diff --git a/scaffold/tests/a1-global-no-clobber.c b/scaffold/tests/a1-global-no-clobber.c index 8e58981e..b9a172b6 100644 --- a/scaffold/tests/a1-global-no-clobber.c +++ b/scaffold/tests/a1-global-no-clobber.c @@ -18,7 +18,7 @@ * along with GNU Mes. If not, see . */ -#include +#include #if __i386__ short foo; diff --git a/scaffold/tiny-mes.c b/scaffold/tiny-mes.c index 32c92bd4..fe3ac018 100644 --- a/scaffold/tiny-mes.c +++ b/scaffold/tiny-mes.c @@ -22,7 +22,7 @@ #error "WITH_GLIBC not supported" #endif -#include +#include #include #include diff --git a/src/mes.c b/src/mes.c index 8349cdb4..52cd8531 100644 --- a/src/mes.c +++ b/src/mes.c @@ -24,7 +24,7 @@ #include #include #include -#include +#include //#define MES_MINI 1 #if WITH_GLIBC