revision 1296:30ecee61f811
summary |
tree |
shortlog |
changelog |
graph |
changeset |
raw | bz2 | zip | gz changeset | 1296:30ecee61f811 |
parent | 1295:9067aff5522d |
child | 1297:7e98a164b2d9 |
author | nkeynes |
date | Sat Jan 26 14:00:48 2013 +1000 (11 years ago) |
Change glib includes to #include <glib.h> rather than the individual
headers, as recent glib versions are breaking on this
headers, as recent glib versions are breaking on this
1.1 --- a/src/aica/audio.c Mon Oct 15 21:19:22 2012 +10001.2 +++ b/src/aica/audio.c Sat Jan 26 14:00:48 2013 +10001.3 @@ -19,7 +19,7 @@1.5 #include "aica/aica.h"1.6 #include "aica/audio.h"1.7 -#include <glib/gmem.h>1.8 +#include <glib.h>1.9 #include "dream.h"1.10 #include <assert.h>1.11 #include <string.h>
2.1 --- a/src/aica/audio.h Mon Oct 15 21:19:22 2012 +10002.2 +++ b/src/aica/audio.h Sat Jan 26 14:00:48 2013 +10002.3 @@ -20,7 +20,7 @@2.5 #include <stdint.h>2.6 #include <stdio.h>2.7 -#include <glib/gtypes.h>2.8 +#include <glib.h>2.9 #include "gettext.h"2.10 #include "plugin.h"
3.1 --- a/src/config.c Mon Oct 15 21:19:22 2012 +10003.2 +++ b/src/config.c Sat Jan 26 14:00:48 2013 +10003.3 @@ -21,8 +21,7 @@3.4 #include <errno.h>3.5 #include <stdlib.h>3.6 #include <string.h>3.7 -#include <glib/gmem.h>3.8 -#include <glib/gstrfuncs.h>3.9 +#include <glib.h>3.10 #include <sys/types.h>3.11 #include <sys/stat.h>3.12 #include "dreamcast.h"
4.1 --- a/src/config.h Mon Oct 15 21:19:22 2012 +10004.2 +++ b/src/config.h Sat Jan 26 14:00:48 2013 +10004.3 @@ -19,8 +19,7 @@4.4 #ifndef lxdream_config_H4.5 #define lxdream_config_H 14.7 -#include <glib/gtypes.h>4.8 -#include <glib/glist.h>4.9 +#include <glib.h>4.10 #include "lxdream.h"4.11 #include "gettext.h"
5.1 --- a/src/drivers/cdrom/cd_gdi.c Mon Oct 15 21:19:22 2012 +10005.2 +++ b/src/drivers/cdrom/cd_gdi.c Sat Jan 26 14:00:48 2013 +10005.3 @@ -23,9 +23,7 @@5.4 #include <fcntl.h>5.5 #include <errno.h>5.6 #include <sys/stat.h>5.7 -#include <glib/gfileutils.h>5.8 -#include <glib/gutils.h>5.9 -#include <glib/gstrfuncs.h>5.10 +#include <glib.h>5.11 #include "drivers/cdrom/cdimpl.h"
6.1 --- a/src/drivers/cdrom/cd_mmc.c Mon Oct 15 21:19:22 2012 +10006.2 +++ b/src/drivers/cdrom/cd_mmc.c Sat Jan 26 14:00:48 2013 +10006.3 @@ -18,7 +18,7 @@6.5 #include <assert.h>6.6 #include <string.h>6.7 -#include <glib/gstrfuncs.h>6.8 +#include <glib.h>6.9 #include "lxdream.h"6.10 #include "gettext.h"6.11 #include "drivers/cdrom/cdimpl.h"
7.1 --- a/src/drivers/cdrom/cdrom.c Mon Oct 15 21:19:22 2012 +10007.2 +++ b/src/drivers/cdrom/cdrom.c Sat Jan 26 14:00:48 2013 +10007.3 @@ -19,8 +19,7 @@7.4 #include <fcntl.h>7.5 #include <stdio.h>7.6 #include <string.h>7.7 -#include <glib/gmem.h>7.8 -#include <glib/gstrfuncs.h>7.9 +#include <glib.h>7.10 #include "lxdream.h"7.11 #include "drivers/cdrom/cdrom.h"7.12 #include "drivers/cdrom/cdimpl.h"
8.1 --- a/src/drivers/cdrom/cdrom.h Mon Oct 15 21:19:22 2012 +10008.2 +++ b/src/drivers/cdrom/cdrom.h Sat Jan 26 14:00:48 2013 +10008.3 @@ -18,7 +18,7 @@8.4 #define cdrom_cdrom_H 18.6 #include <stdio.h>8.7 -#include <glib/glist.h>8.8 +#include <glib.h>8.9 #include "drivers/cdrom/defs.h"8.10 #include "drivers/cdrom/sector.h"
9.1 --- a/src/drivers/cdrom/defs.h Mon Oct 15 21:19:22 2012 +10009.2 +++ b/src/drivers/cdrom/defs.h Sat Jan 26 14:00:48 2013 +10009.3 @@ -21,7 +21,7 @@9.5 #include "lxdream.h"9.6 #include <stdint.h>9.7 -#include <glib/gtypes.h>9.8 +#include <glib.h>9.11 #ifdef __cplusplus
10.1 --- a/src/drivers/cdrom/drive.c Mon Oct 15 21:19:22 2012 +100010.2 +++ b/src/drivers/cdrom/drive.c Sat Jan 26 14:00:48 2013 +100010.3 @@ -18,8 +18,7 @@10.5 #include <stdlib.h>10.6 #include <string.h>10.7 -#include <glib/gstrfuncs.h>10.8 -#include <glib/gmem.h>10.9 +#include <glib.h>10.10 #include "drivers/cdrom/drive.h"10.11 #include "drivers/cdrom/cdimpl.h"
11.1 --- a/src/drivers/cdrom/drive.h Mon Oct 15 21:19:22 2012 +100011.2 +++ b/src/drivers/cdrom/drive.h Sat Jan 26 14:00:48 2013 +100011.3 @@ -26,7 +26,7 @@11.4 #ifndef cdrom_drive_H11.5 #define cdrom_drive_H 111.7 -#include <glib/glist.h>11.8 +#include <glib.h>11.9 #include "hook.h"11.10 #include "drivers/cdrom/defs.h"
12.1 --- a/src/drivers/cdrom/isofs.c Mon Oct 15 21:19:22 2012 +100012.2 +++ b/src/drivers/cdrom/isofs.c Sat Jan 26 14:00:48 2013 +100012.3 @@ -19,7 +19,7 @@12.4 #include <assert.h>12.5 #include <stdio.h>12.6 #include <unistd.h>12.7 -#include <glib/gmem.h>12.8 +#include <glib.h>12.10 #define LIBISOFS_WITHOUT_LIBBURN 1
13.1 --- a/src/drivers/cdrom/sector.c Mon Oct 15 21:19:22 2012 +100013.2 +++ b/src/drivers/cdrom/sector.c Sat Jan 26 14:00:48 2013 +100013.3 @@ -17,7 +17,7 @@13.4 */13.6 #include <sys/stat.h>13.7 -#include <glib/gmem.h>13.8 +#include <glib.h>13.9 #include <assert.h>13.10 #include <stdlib.h>13.11 #include <stdio.h>
14.1 --- a/src/drivers/cdrom/sector.h Mon Oct 15 21:19:22 2012 +100014.2 +++ b/src/drivers/cdrom/sector.h Sat Jan 26 14:00:48 2013 +100014.3 @@ -20,7 +20,7 @@14.4 #define cdrom_sector_H 114.6 #include <stdio.h>14.7 -#include <glib/gtypes.h>14.8 +#include <glib.h>14.9 #include "drivers/cdrom/defs.h"14.11 #ifdef __cplusplus
15.1 --- a/src/drivers/input_lirc.c Mon Oct 15 21:19:22 2012 +100015.2 +++ b/src/drivers/input_lirc.c Sat Jan 26 14:00:48 2013 +100015.3 @@ -28,7 +28,6 @@15.4 #include <dirent.h>15.5 #include <ctype.h>15.7 -#include <glib/giochannel.h>15.8 #include <glib.h>15.10 #include <lirc/lirc_client.h>
16.1 --- a/src/drivers/joy_linux.c Mon Oct 15 21:19:22 2012 +100016.2 +++ b/src/drivers/joy_linux.c Sat Jan 26 14:00:48 2013 +100016.3 @@ -32,7 +32,6 @@16.4 #include <ctype.h>16.6 #include <linux/joystick.h>16.7 -#include <glib/giochannel.h>16.8 #include <glib.h>16.10 #include "lxdream.h"
17.1 --- a/src/drivers/video_egl.h Mon Oct 15 21:19:22 2012 +100017.2 +++ b/src/drivers/video_egl.h Sat Jan 26 14:00:48 2013 +100017.3 @@ -20,7 +20,7 @@17.4 #ifndef lxdream_video_egl_H17.5 #define lxdream_video_egl_H 117.7 -#include "glib/gtypes.h"17.8 +#include <glib.h>17.10 #ifdef __cplusplus17.11 extern "C" {
18.1 --- a/src/gdlist.c Mon Oct 15 21:19:22 2012 +100018.2 +++ b/src/gdlist.c Sat Jan 26 14:00:48 2013 +100018.3 @@ -19,7 +19,7 @@18.5 #include <string.h>18.6 #include <stdlib.h>18.7 -#include <glib/gstrfuncs.h>18.8 +#include <glib.h>18.9 #include <libgen.h>18.10 #include "gettext.h"18.11 #include "gdrom/gdrom.h"
19.1 --- a/src/gdrom/gdrom.c Mon Oct 15 21:19:22 2012 +100019.2 +++ b/src/gdrom/gdrom.c Sat Jan 26 14:00:48 2013 +100019.3 @@ -22,7 +22,7 @@19.4 #include <fcntl.h>19.5 #include <errno.h>19.6 #include <ctype.h>19.7 -#include <glib/gutils.h>19.8 +#include <glib.h>19.9 #include <netinet/in.h>19.10 #include "gdrom/ide.h"19.11 #include "gdrom/gdrom.h"
20.1 --- a/src/gdrom/gdrom.h Mon Oct 15 21:19:22 2012 +100020.2 +++ b/src/gdrom/gdrom.h Sat Jan 26 14:00:48 2013 +100020.3 @@ -23,7 +23,7 @@20.4 #include "lxdream.h"20.5 #include "hook.h"20.6 #include "drivers/cdrom/defs.h"20.7 -#include <glib/glist.h>20.8 +#include <glib.h>20.10 #ifdef __cplusplus20.11 extern "C" {
21.1 --- a/src/gui.h Mon Oct 15 21:19:22 2012 +100021.2 +++ b/src/gui.h Sat Jan 26 14:00:48 2013 +100021.3 @@ -19,7 +19,7 @@21.4 #ifndef lxdream_gui_H21.5 #define lxdream_gui_H21.7 -#include <glib/gtypes.h>21.8 +#include <glib.h>21.10 #ifdef __cplusplus21.11 extern "C" {
22.1 --- a/src/loader.c Mon Oct 15 21:19:22 2012 +100022.2 +++ b/src/loader.c Sat Jan 26 14:00:48 2013 +100022.3 @@ -24,7 +24,7 @@22.4 #include <sys/stat.h>22.5 #include <errno.h>22.6 #include <stdint.h>22.7 -#include <glib/gstrfuncs.h>22.8 +#include <glib.h>22.9 #include <elf.h>22.10 #include "mem.h"22.11 #include "bootstrap.h"
23.1 --- a/src/loader.h Mon Oct 15 21:19:22 2012 +100023.2 +++ b/src/loader.h Sat Jan 26 14:00:48 2013 +100023.3 @@ -20,7 +20,7 @@23.4 #define lxdream_loader_H 123.6 #include <stdio.h>23.7 -#include <glib/gtypes.h>23.8 +#include <glib.h>23.10 #include "drivers/cdrom/cdrom.h"
24.1 --- a/src/lxdream.h Mon Oct 15 21:19:22 2012 +100024.2 +++ b/src/lxdream.h Sat Jan 26 14:00:48 2013 +100024.3 @@ -20,7 +20,7 @@24.4 #define lxdream_lxdream_H 124.6 #include <stdint.h>24.7 -#include <glib/gtypes.h>24.8 +#include <glib.h>24.10 #include "../config.h"
25.1 --- a/src/lxpaths.c Mon Oct 15 21:19:22 2012 +100025.2 +++ b/src/lxpaths.c Sat Jan 26 14:00:48 2013 +100025.3 @@ -19,9 +19,7 @@25.4 #include <ctype.h>25.5 #include <unistd.h>25.6 #include <stdlib.h>25.7 -#include <glib/gfileutils.h>25.8 -#include <glib/gstrfuncs.h>25.9 -#include <glib/gutils.h>25.10 +#include <glib.h>25.12 #include "gui.h"25.13 #include "config.h"
26.1 --- a/src/lxpaths.h Mon Oct 15 21:19:22 2012 +100026.2 +++ b/src/lxpaths.h Sat Jan 26 14:00:48 2013 +100026.3 @@ -19,7 +19,7 @@26.4 #ifndef lxdream_paths_H26.5 #define lxdream_paths_H26.7 -#include <glib/gtypes.h>26.8 +#include <glib.h>26.10 /****************** System paths ****************/26.11 /**
27.1 --- a/src/maple/maple.c Mon Oct 15 21:19:22 2012 +100027.2 +++ b/src/maple/maple.c Sat Jan 26 14:00:48 2013 +100027.3 @@ -18,7 +18,7 @@27.4 #define MODULE maple_module27.6 #include <assert.h>27.7 -#include <glib/gstrfuncs.h>27.8 +#include <glib.h>27.9 #include "eventq.h"27.10 #include "dream.h"27.11 #include "mem.h"
28.1 --- a/src/mem.c Mon Oct 15 21:19:22 2012 +100028.2 +++ b/src/mem.c Sat Jan 26 14:00:48 2013 +100028.3 @@ -20,7 +20,7 @@28.4 #include <sys/types.h>28.5 #include <sys/mman.h>28.6 #include <sys/stat.h>28.7 -#include <glib/gstrfuncs.h>28.8 +#include <glib.h>28.9 #include <assert.h>28.10 #include <stdint.h>28.11 #include <stdlib.h>
29.1 --- a/src/paths_unix.c Mon Oct 15 21:19:22 2012 +100029.2 +++ b/src/paths_unix.c Sat Jan 26 14:00:48 2013 +100029.3 @@ -18,7 +18,7 @@29.5 #include <string.h>29.6 #include <stdlib.h>29.7 -#include <glib/gstrfuncs.h>29.8 +#include <glib.h>29.10 #include "lxdream.h"29.11 #include "config.h"
30.1 --- a/src/plugin.c Mon Oct 15 21:19:22 2012 +100030.2 +++ b/src/plugin.c Sat Jan 26 14:00:48 2013 +100030.3 @@ -20,8 +20,7 @@30.4 #include <dirent.h>30.5 #include <dlfcn.h>30.6 #include <string.h>30.7 -#include <glib/gmem.h>30.8 -#include <glib/gstrfuncs.h>30.9 +#include <glib.h>30.10 #include "plugin.h"30.11 #include "lxpaths.h"
31.1 --- a/src/pvr2/glutil.c Mon Oct 15 21:19:22 2012 +100031.2 +++ b/src/pvr2/glutil.c Sat Jan 26 14:00:48 2013 +100031.3 @@ -19,7 +19,7 @@31.4 #include <assert.h>31.5 #include <string.h>31.6 #include <stdlib.h>31.7 -#include <glib/gstrfuncs.h>31.8 +#include <glib.h>31.9 #include "pvr2/glutil.h"31.11 gboolean isOpenGLES2()
32.1 --- a/src/sh4/sh4core.h Mon Oct 15 21:19:22 2012 +100032.2 +++ b/src/sh4/sh4core.h Sat Jan 26 14:00:48 2013 +100032.3 @@ -19,7 +19,7 @@32.4 #ifndef lxdream_sh4core_H32.5 #define lxdream_sh4core_H 132.7 -#include <glib/gtypes.h>32.8 +#include <glib.h>32.9 #include <stdint.h>32.10 #include <stdio.h>32.11 #include "mem.h"
33.1 --- a/src/syscall.h Mon Oct 15 21:19:22 2012 +100033.2 +++ b/src/syscall.h Sat Jan 26 14:00:48 2013 +100033.3 @@ -20,7 +20,7 @@33.4 #define lxdream_syscall_H 133.6 #include <stdint.h>33.7 -#include <glib/gtypes.h>33.8 +#include <glib.h>33.10 #ifdef __cplusplus33.11 extern "C" {
34.1 --- a/src/test/testlxpaths.c Mon Oct 15 21:19:22 2012 +100034.2 +++ b/src/test/testlxpaths.c Sat Jan 26 14:00:48 2013 +100034.3 @@ -19,7 +19,7 @@34.4 #include <stdlib.h>34.5 #include <stdio.h>34.6 #include <string.h>34.7 -#include <glib/gmem.h>34.8 +#include <glib.h>34.9 #include "lxpaths.h"34.11 char *lxdream_get_global_config_path_value() { }
35.1 --- a/src/tools/actparse.c Mon Oct 15 21:19:22 2012 +100035.2 +++ b/src/tools/actparse.c Sat Jan 26 14:00:48 2013 +100035.3 @@ -22,7 +22,7 @@35.4 #include <string.h>35.5 #include <ctype.h>35.6 #include <sys/stat.h>35.7 -#include <glib/gstrfuncs.h>35.8 +#include <glib.h>35.9 #include "tools/gendec.h"35.11 static int add_action( struct action *actions, struct ruleset *rules, char *operation, const char *file, int line, char *action )
36.1 --- a/src/tools/gendec.c Mon Oct 15 21:19:22 2012 +100036.2 +++ b/src/tools/gendec.c Sat Jan 26 14:00:48 2013 +100036.3 @@ -23,7 +23,7 @@36.4 #include <getopt.h>36.5 #include <errno.h>36.6 #include <ctype.h>36.7 -#include <glib/gstrfuncs.h>36.8 +#include <glib.h>36.9 #include <assert.h>36.10 #include "tools/gendec.h"
37.1 --- a/src/tools/genglsl.c Mon Oct 15 21:19:22 2012 +100037.2 +++ b/src/tools/genglsl.c Sat Jan 26 14:00:48 2013 +100037.3 @@ -27,9 +27,7 @@37.4 #include <stdlib.h>37.5 #include <string.h>37.6 #include <getopt.h>37.7 -#include <glib/gstrfuncs.h>37.8 -#include <glib/gshell.h>37.9 -#include <glib/glist.h>37.10 +#include <glib.h>37.11 #include "../../config.h"37.13 #define MAX_LINE 4096
38.1 --- a/src/tools/genmach.c Mon Oct 15 21:19:22 2012 +100038.2 +++ b/src/tools/genmach.c Sat Jan 26 14:00:48 2013 +100038.3 @@ -23,8 +23,7 @@38.4 #include <getopt.h>38.5 #include <ctype.h>38.6 #include <errno.h>38.7 -#include <glib/gstrfuncs.h>38.8 -#include <glib/glist.h>38.9 +#include <glib.h>38.10 #include "gettext.h"38.11 #include "genmach.h"
39.1 --- a/src/tools/genmach.h Mon Oct 15 21:19:22 2012 +100039.2 +++ b/src/tools/genmach.h Sat Jan 26 14:00:48 2013 +100039.3 @@ -20,7 +20,7 @@39.4 #define lxdream_genmmio_H 139.6 #include <stdint.h>39.7 -#include <glib/glist.h>39.8 +#include <glib.h>39.10 #ifdef __cplusplus39.11 extern "C" {
40.1 --- a/src/tools/mdparse.c Mon Oct 15 21:19:22 2012 +100040.2 +++ b/src/tools/mdparse.c Sat Jan 26 14:00:48 2013 +100040.3 @@ -25,7 +25,7 @@40.4 #include <ctype.h>40.5 #include <errno.h>40.6 #include <sys/stat.h>40.7 -#include <glib/gmem.h>40.8 +#include <glib.h>40.10 #include "genmach.h"40.11 /*
41.1 --- a/src/tqueue.h Mon Oct 15 21:19:22 2012 +100041.2 +++ b/src/tqueue.h Sat Jan 26 14:00:48 2013 +100041.3 @@ -20,7 +20,7 @@41.4 #ifndef lxdream_tqueue_H41.5 #define lxdream_tqueue_H 141.7 -#include "glib/gtypes.h"41.8 +#include <glib.h>41.10 #ifdef __cplusplus41.11 extern "C" {
42.1 --- a/src/vmu/vmulist.c Mon Oct 15 21:19:22 2012 +100042.2 +++ b/src/vmu/vmulist.c Sat Jan 26 14:00:48 2013 +100042.3 @@ -18,8 +18,7 @@42.5 #include <string.h>42.6 #include <stdlib.h>42.7 -#include <glib/glist.h>42.8 -#include <glib/gstrfuncs.h>42.9 +#include <glib.h>42.10 #include "vmulist.h"42.11 #include "config.h"
43.1 --- a/src/vmu/vmuvol.c Mon Oct 15 21:19:22 2012 +100043.2 +++ b/src/vmu/vmuvol.c Sat Jan 26 14:00:48 2013 +100043.3 @@ -16,8 +16,7 @@43.4 * GNU General Public License for more details.43.5 */43.7 -#include <glib/gmem.h>43.8 -#include <glib/gstrfuncs.h>43.9 +#include <glib.h>43.10 #include <string.h>43.11 #include <unistd.h>43.12 #include <stdio.h>
.