(libretro-db) Cleanups

This commit is contained in:
twinaphex 2016-06-03 07:58:15 +02:00
parent d95c421ba9
commit 169b5e7a6b
4 changed files with 15 additions and 24 deletions

View File

@ -23,9 +23,9 @@
#ifndef __LIBRETRODB_BINTREE_H__
#define __LIBRETRODB_BINTREE_H__
#ifdef __cplusplus
extern "C" {
#endif
#include <retro_common_api.h>
RETRO_BEGIN_DECLS
typedef struct bintree bintree_t;
@ -40,8 +40,6 @@ int bintree_iterate(const bintree_t *t, bintree_iter_cb cb, void *ctx);
void bintree_free(bintree_t *t);
#ifdef __cplusplus
}
#endif
RETRO_END_DECLS
#endif

View File

@ -30,12 +30,12 @@
#include <unistd.h>
#endif
#include <retro_common_api.h>
#include "query.h"
#include "rmsgpack_dom.h"
#ifdef __cplusplus
extern "C" {
#endif
RETRO_BEGIN_DECLS
typedef struct libretrodb libretrodb_t;
@ -105,8 +105,6 @@ void libretrodb_query_free(void *q);
int libretrodb_cursor_read_item(libretrodb_cursor_t *cursor,
struct rmsgpack_dom_value *out);
#ifdef __cplusplus
}
#endif
RETRO_END_DECLS
#endif

View File

@ -23,12 +23,12 @@
#ifndef __LIBRETRODB_QUERY_H__
#define __LIBRETRODB_QUERY_H__
#include <retro_common_api.h>
#include "libretrodb.h"
#include "rmsgpack_dom.h"
#ifdef __cplusplus
extern "C" {
#endif
RETRO_BEGIN_DECLS
typedef struct libretrodb_query libretrodb_query_t;
@ -38,8 +38,6 @@ void libretrodb_query_dec_ref(libretrodb_query_t *q);
int libretrodb_query_filter(libretrodb_query_t *q, struct rmsgpack_dom_value *v);
#ifdef __cplusplus
}
#endif
RETRO_END_DECLS
#endif

View File

@ -25,11 +25,10 @@
#include <stdint.h>
#include <retro_common_api.h>
#include <streams/file_stream.h>
#ifdef __cplusplus
extern "C" {
#endif
RETRO_BEGIN_DECLS
enum rmsgpack_dom_type
{
@ -96,8 +95,6 @@ int rmsgpack_dom_write(RFILE *fd, const struct rmsgpack_dom_value *obj);
int rmsgpack_dom_read_into(RFILE *fd, ...);
#ifdef __cplusplus
}
#endif
RETRO_END_DECLS
#endif