mirror of https://github.com/mgba-emu/mgba.git
All: Include util/string.h wherever strdup is used
This commit is contained in:
parent
4bd3555045
commit
b54f5a997a
|
@ -6,6 +6,7 @@
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include "util/formatting.h"
|
#include "util/formatting.h"
|
||||||
|
#include "util/string.h"
|
||||||
#include "util/vfs.h"
|
#include "util/vfs.h"
|
||||||
|
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "gba/video.h"
|
#include "gba/video.h"
|
||||||
|
#include "util/string.h"
|
||||||
|
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
#include "imagemagick-gif-encoder.h"
|
#include "imagemagick-gif-encoder.h"
|
||||||
|
|
||||||
#include "gba/video.h"
|
#include "gba/video.h"
|
||||||
|
#include "util/string.h"
|
||||||
|
|
||||||
static void _magickPostVideoFrame(struct GBAAVStream*, struct GBAVideoRenderer* renderer);
|
static void _magickPostVideoFrame(struct GBAAVStream*, struct GBAVideoRenderer* renderer);
|
||||||
static void _magickPostAudioFrame(struct GBAAVStream*, int16_t left, int16_t right);
|
static void _magickPostAudioFrame(struct GBAAVStream*, int16_t left, int16_t right);
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
#include "gba/serialize.h"
|
#include "gba/serialize.h"
|
||||||
|
|
||||||
#include "platform/commandline.h"
|
#include "platform/commandline.h"
|
||||||
|
#include "util/string.h"
|
||||||
#include "util/vfs.h"
|
#include "util/vfs.h"
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
#include "configuration.h"
|
#include "configuration.h"
|
||||||
|
|
||||||
#include "util/formatting.h"
|
#include "util/formatting.h"
|
||||||
|
#include "util/string.h"
|
||||||
#include "util/vfs.h"
|
#include "util/vfs.h"
|
||||||
|
|
||||||
#include "third-party/inih/ini.h"
|
#include "third-party/inih/ini.h"
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
#include "table.h"
|
#include "table.h"
|
||||||
|
|
||||||
#include "util/hash.h"
|
#include "util/hash.h"
|
||||||
|
#include "util/string.h"
|
||||||
|
|
||||||
#define LIST_INITIAL_SIZE 8
|
#define LIST_INITIAL_SIZE 8
|
||||||
#define TABLE_INITIAL_SIZE 8
|
#define TABLE_INITIAL_SIZE 8
|
||||||
|
|
Loading…
Reference in New Issue