First bunch of reverting stuff from mhl to switch back to glib

This removes the usage of stdbool.h in favour of mhl/tyes.h as we have to revert everything one by one

Signed-off-by: Patrick Winnertz <winnie@debian.org>
This commit is contained in:
Patrick Winnertz 2009-02-05 23:09:37 +01:00
parent bbf507b237
commit 5920d13810
21 changed files with 27 additions and 20 deletions

View File

@ -1,3 +1,7 @@
2009-02-05 Patrick Winnertz <winnie@debian.org>
* reverted all mhl usage in files except escaping stuff
2009-02-04 Enrico Weigelt, metux ITS <weigelt@metux.de>
* mhl/types.h, mhl/escape.h: replaced bool type by stdbool.h (fixing #239, #240)

View File

@ -29,8 +29,8 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <stdbool.h>
#include <mhl/types.h>
#include <mhl/memory.h>
#include <mhl/string.h>

View File

@ -1,7 +1,7 @@
#ifndef MC_USERMAP_H
#define MC_USERMAP_H
#include <stdbool.h>
#include <mhl/types.h>
#define MC_USERMAP ".mc/cedit/cooledit.bindings"

View File

@ -28,7 +28,8 @@
#include <assert.h>
#include <locale.h>
#include <stdio.h>
#include <stdbool.h>
#include <mhl/types.h>
#include "global.h"
#include "ecs.h"

View File

@ -26,8 +26,8 @@
#include <assert.h>
#include <ctype.h>
#include <stdbool.h>
#include <mhl/types.h>
#include <mhl/string.h>
#include "global.h"

View File

@ -44,7 +44,7 @@ typedef char ecs_char;
# define ECS_STR(s) (s)
#endif
#include <stdbool.h>
#include <mhl/types.h>
/*
* String conversion functions between the wide character encoding and

View File

@ -48,8 +48,8 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <stdbool.h>
#include <mhl/types.h>
#include <mhl/memory.h>
#include <mhl/escape.h>
#include <mhl/string.h>

View File

@ -26,8 +26,8 @@
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <stdbool.h>
#include <mhl/types.h>
#include <mhl/memory.h>
#include <mhl/string.h>

View File

@ -31,8 +31,8 @@
#include <string.h>
#include <sys/types.h>
#include <unistd.h>
#include <stdbool.h>
#include <mhl/types.h>
#include <mhl/memory.h>
#include <mhl/string.h>

View File

@ -25,9 +25,9 @@
#include <stdarg.h>
#include <stdio.h>
#include <stdbool.h>
#include <mhl/memory.h>
#include <mhl/types.h>
#include "global.h"
#include "logging.h"

View File

@ -40,8 +40,8 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <stdbool.h>
#include <mhl/types.h>
#include <mhl/memory.h>
#include <mhl/string.h>

View File

@ -28,7 +28,6 @@
#include <signal.h>
#include <stdarg.h>
#include <stdbool.h>
#include <mhl/types.h>

View File

@ -25,7 +25,7 @@
#endif /* WANT_TERM_H */
#endif /* USE_NCURSES */
#include <stdbool.h>
#include <mhl/types.h>
/* {{{ Input }}} */

View File

@ -32,7 +32,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#include <sys/param.h>
#include <sys/types.h>
#include <sys/stat.h>
@ -41,6 +41,7 @@
#endif
#include <unistd.h>
#include <mhl/types.h>
#include <mhl/memory.h>
#include <mhl/string.h>

View File

@ -42,8 +42,8 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <stdbool.h>
#include <mhl/types.h>
#include <mhl/memory.h>
#include <mhl/string.h>

View File

@ -33,8 +33,8 @@
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <stdbool.h>
#include <mhl/types.h>
#include <mhl/memory.h>
#include <mhl/string.h>

View File

@ -1,7 +1,7 @@
#ifndef MC_WIDGET_H
#define MC_WIDGET_H
#include <stdbool.h>
#include <mhl/types.h>
#include "dialog.h" /* Widget */

View File

@ -36,7 +36,6 @@ typedef int dummy; /* C99 forbids empty compilation unit */
#include <setjmp.h>
#include <X11/Xlib.h>
#include <stdbool.h>
#include <mhl/memory.h>
@ -46,6 +45,8 @@ typedef int dummy; /* C99 forbids empty compilation unit */
# include <gmodule.h>
#endif
#include <mhl/types.h>
#include "x11conn.h"
/*** file scope type declarations **************************************/

View File

@ -25,8 +25,8 @@
#include <stdio.h>
#include <sys/types.h>
#include <stdbool.h>
#include <mhl/types.h>
#include <mhl/string.h>
#undef USE_NCURSES /* Don't include *curses.h */

View File

@ -21,8 +21,8 @@
#include <config.h>
#include <ctype.h>
#include <stdbool.h>
#include <mhl/types.h>
#include <mhl/memory.h>
#include <mhl/string.h>

View File

@ -2,7 +2,8 @@
#define MC_VFS_UTILVFS_H
#include <sys/stat.h>
#include <stdbool.h>
#include <mhl/types.h>
/* Flags for vfs_split_url() */
#define URL_ALLOW_ANON 1