mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 04:22:34 +03:00
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:
parent
bbf507b237
commit
5920d13810
@ -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)
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
@ -26,8 +26,8 @@
|
||||
|
||||
#include <assert.h>
|
||||
#include <ctype.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include <mhl/types.h>
|
||||
#include <mhl/string.h>
|
||||
|
||||
#include "global.h"
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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>
|
||||
|
||||
|
@ -28,7 +28,6 @@
|
||||
|
||||
#include <signal.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include <mhl/types.h>
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
#endif /* WANT_TERM_H */
|
||||
#endif /* USE_NCURSES */
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <mhl/types.h>
|
||||
|
||||
/* {{{ Input }}} */
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#ifndef MC_WIDGET_H
|
||||
#define MC_WIDGET_H
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <mhl/types.h>
|
||||
|
||||
#include "dialog.h" /* Widget */
|
||||
|
||||
|
@ -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 **************************************/
|
||||
|
@ -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 */
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user