mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 01:54:24 +03:00
fixed #240
This commit is contained in:
parent
5d4d91cd36
commit
0c97636212
@ -8,6 +8,7 @@
|
|||||||
* edit/editcmd.c, configure.ac: removed obsolete own implementation of memove (#242)
|
* edit/editcmd.c, configure.ac: removed obsolete own implementation of memove (#242)
|
||||||
* mhl/escape.h: including stdbool.h for the bool type (fixing #239)
|
* mhl/escape.h: including stdbool.h for the bool type (fixing #239)
|
||||||
* mhl/types.h: removed redundant bool type (fixing #239)
|
* mhl/types.h: removed redundant bool type (fixing #239)
|
||||||
|
* replaced bool type in mhl/types.h by stdbool.h (fixing #240)
|
||||||
|
|
||||||
2009-02-01 Enrico Weigelt, metux ITS <weigelt@metux.de>
|
2009-02-01 Enrico Weigelt, metux ITS <weigelt@metux.de>
|
||||||
|
|
||||||
|
@ -29,8 +29,8 @@
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
#include <stdbool.h>
|
||||||
|
|
||||||
#include <mhl/types.h>
|
|
||||||
#include <mhl/memory.h>
|
#include <mhl/memory.h>
|
||||||
#include <mhl/string.h>
|
#include <mhl/string.h>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#ifndef MC_USERMAP_H
|
#ifndef MC_USERMAP_H
|
||||||
#define MC_USERMAP_H
|
#define MC_USERMAP_H
|
||||||
|
|
||||||
#include <mhl/types.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
#define MC_USERMAP ".mc/cedit/cooledit.bindings"
|
#define MC_USERMAP ".mc/cedit/cooledit.bindings"
|
||||||
|
|
||||||
|
@ -28,8 +28,7 @@
|
|||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <stdbool.h>
|
||||||
#include <mhl/types.h>
|
|
||||||
|
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "ecs.h"
|
#include "ecs.h"
|
||||||
|
@ -26,8 +26,8 @@
|
|||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
#include <stdbool.h>
|
||||||
|
|
||||||
#include <mhl/types.h>
|
|
||||||
#include <mhl/string.h>
|
#include <mhl/string.h>
|
||||||
|
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
|
@ -44,7 +44,7 @@ typedef char ecs_char;
|
|||||||
# define ECS_STR(s) (s)
|
# define ECS_STR(s) (s)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <mhl/types.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* String conversion functions between the wide character encoding and
|
* String conversion functions between the wide character encoding and
|
||||||
|
@ -48,8 +48,8 @@
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
#include <stdbool.h>
|
||||||
|
|
||||||
#include <mhl/types.h>
|
|
||||||
#include <mhl/memory.h>
|
#include <mhl/memory.h>
|
||||||
#include <mhl/escape.h>
|
#include <mhl/escape.h>
|
||||||
#include <mhl/string.h>
|
#include <mhl/string.h>
|
||||||
|
@ -26,8 +26,8 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
#include <stdbool.h>
|
||||||
|
|
||||||
#include <mhl/types.h>
|
|
||||||
#include <mhl/memory.h>
|
#include <mhl/memory.h>
|
||||||
#include <mhl/string.h>
|
#include <mhl/string.h>
|
||||||
|
|
||||||
|
@ -31,8 +31,8 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
#include <stdbool.h>
|
||||||
|
|
||||||
#include <mhl/types.h>
|
|
||||||
#include <mhl/memory.h>
|
#include <mhl/memory.h>
|
||||||
#include <mhl/string.h>
|
#include <mhl/string.h>
|
||||||
|
|
||||||
|
@ -25,9 +25,9 @@
|
|||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <stdbool.h>
|
||||||
|
|
||||||
#include <mhl/memory.h>
|
#include <mhl/memory.h>
|
||||||
#include <mhl/types.h>
|
|
||||||
|
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "logging.h"
|
#include "logging.h"
|
||||||
|
@ -40,8 +40,8 @@
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
#include <stdbool.h>
|
||||||
|
|
||||||
#include <mhl/types.h>
|
|
||||||
#include <mhl/memory.h>
|
#include <mhl/memory.h>
|
||||||
#include <mhl/string.h>
|
#include <mhl/string.h>
|
||||||
|
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
|
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
#include <stdbool.h>
|
||||||
|
|
||||||
#include <mhl/types.h>
|
#include <mhl/types.h>
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#endif /* WANT_TERM_H */
|
#endif /* WANT_TERM_H */
|
||||||
#endif /* USE_NCURSES */
|
#endif /* USE_NCURSES */
|
||||||
|
|
||||||
#include <mhl/types.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
/* {{{ Input }}} */
|
/* {{{ Input }}} */
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <stdbool.h>
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
@ -41,7 +41,6 @@
|
|||||||
#endif
|
#endif
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include <mhl/types.h>
|
|
||||||
#include <mhl/memory.h>
|
#include <mhl/memory.h>
|
||||||
#include <mhl/string.h>
|
#include <mhl/string.h>
|
||||||
|
|
||||||
|
@ -42,8 +42,8 @@
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
#include <stdbool.h>
|
||||||
|
|
||||||
#include <mhl/types.h>
|
|
||||||
#include <mhl/memory.h>
|
#include <mhl/memory.h>
|
||||||
#include <mhl/string.h>
|
#include <mhl/string.h>
|
||||||
|
|
||||||
|
@ -33,8 +33,8 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
#include <stdbool.h>
|
||||||
|
|
||||||
#include <mhl/types.h>
|
|
||||||
#include <mhl/memory.h>
|
#include <mhl/memory.h>
|
||||||
#include <mhl/string.h>
|
#include <mhl/string.h>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#ifndef MC_WIDGET_H
|
#ifndef MC_WIDGET_H
|
||||||
#define MC_WIDGET_H
|
#define MC_WIDGET_H
|
||||||
|
|
||||||
#include <mhl/types.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
#include "dialog.h" /* Widget */
|
#include "dialog.h" /* Widget */
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@ typedef int dummy; /* C99 forbids empty compilation unit */
|
|||||||
|
|
||||||
#include <setjmp.h>
|
#include <setjmp.h>
|
||||||
#include <X11/Xlib.h>
|
#include <X11/Xlib.h>
|
||||||
|
#include <stdbool.h>
|
||||||
|
|
||||||
#include <mhl/memory.h>
|
#include <mhl/memory.h>
|
||||||
|
|
||||||
@ -45,8 +46,6 @@ typedef int dummy; /* C99 forbids empty compilation unit */
|
|||||||
# include <gmodule.h>
|
# include <gmodule.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <mhl/types.h>
|
|
||||||
|
|
||||||
#include "x11conn.h"
|
#include "x11conn.h"
|
||||||
|
|
||||||
/*** file scope type declarations **************************************/
|
/*** file scope type declarations **************************************/
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
#include <stdbool.h>
|
||||||
|
|
||||||
#include <mhl/types.h>
|
|
||||||
#include <mhl/string.h>
|
#include <mhl/string.h>
|
||||||
|
|
||||||
#undef USE_NCURSES /* Don't include *curses.h */
|
#undef USE_NCURSES /* Don't include *curses.h */
|
||||||
|
@ -21,8 +21,8 @@
|
|||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
#include <stdbool.h>
|
||||||
|
|
||||||
#include <mhl/types.h>
|
|
||||||
#include <mhl/memory.h>
|
#include <mhl/memory.h>
|
||||||
#include <mhl/string.h>
|
#include <mhl/string.h>
|
||||||
|
|
||||||
|
@ -2,8 +2,7 @@
|
|||||||
#define MC_VFS_UTILVFS_H
|
#define MC_VFS_UTILVFS_H
|
||||||
|
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
#include <stdbool.h>
|
||||||
#include <mhl/types.h>
|
|
||||||
|
|
||||||
/* Flags for vfs_split_url() */
|
/* Flags for vfs_split_url() */
|
||||||
#define URL_ALLOW_ANON 1
|
#define URL_ALLOW_ANON 1
|
||||||
|
Loading…
Reference in New Issue
Block a user