mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
buflib: Prep for multiple backend support, rename to buflib_mempool
Rename the current buflib implementation to buflib_mempool. Change-Id: Iefdf74be1f7d8fcd19e6ce2289c3d1459b54d013
This commit is contained in:
parent
e23c78522a
commit
680261fbb7
8 changed files with 10 additions and 10 deletions
|
@ -100,7 +100,7 @@ int plugin_open(const char *plugin, const char *parameter);
|
|||
#include "list.h"
|
||||
#include "tree.h"
|
||||
#include "color_picker.h"
|
||||
#include "buflib.h"
|
||||
#include "buflib_mempool.h"
|
||||
#include "buffering.h"
|
||||
#include "tagcache.h"
|
||||
#include "viewport.h"
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
ata_idle_notify.c
|
||||
events.c
|
||||
backlight.c
|
||||
buflib.c
|
||||
buflib_mempool.c
|
||||
core_alloc.c
|
||||
general.c
|
||||
powermgmt.c
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
#include <stdlib.h> /* for abs() */
|
||||
#include <stdio.h> /* for snprintf() */
|
||||
#include <stddef.h> /* for ptrdiff_t */
|
||||
#include "buflib.h"
|
||||
#include "buflib_mempool.h"
|
||||
#include "string-extra.h" /* strmemccpy() */
|
||||
#include "debug.h"
|
||||
#include "panic.h"
|
|
@ -3,7 +3,7 @@
|
|||
#include <string.h>
|
||||
#include "system.h"
|
||||
#include "core_alloc.h"
|
||||
#include "buflib.h"
|
||||
#include "buflib_mempool.h"
|
||||
|
||||
/* not static so it can be discovered by core_get_data() */
|
||||
struct buflib_context core_ctx;
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
* KIND, either express or implied.
|
||||
*
|
||||
****************************************************************************/
|
||||
#ifndef _BUFLIB_H_
|
||||
#define _BUFLIB_H_
|
||||
#ifndef _BUFLIB_MEMPOOL_H_
|
||||
#define _BUFLIB_MEMPOOL_H_
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
@ -378,4 +378,4 @@ bool buflib_print_block_at(struct buflib_context *ctx, int block_num,
|
|||
void buflib_check_valid(struct buflib_context *ctx);
|
||||
#endif
|
||||
|
||||
#endif /* _BUFLIB_H_ */
|
||||
#endif /* _BUFLIB_MEMPOOL_H_ */
|
|
@ -24,7 +24,7 @@
|
|||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
#include "config.h"
|
||||
#include "buflib.h"
|
||||
#include "buflib_mempool.h"
|
||||
|
||||
#define CHUNK_ALLOC_INVALID ((size_t)-1)
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#include <string.h>
|
||||
#include <stdbool.h>
|
||||
#include "config.h"
|
||||
#include "buflib.h"
|
||||
#include "buflib_mempool.h"
|
||||
#include "chunk_alloc.h"
|
||||
|
||||
/* All functions below are wrappers for functions in buflib.h, except
|
||||
|
|
|
@ -5,5 +5,5 @@ warble.c
|
|||
../../../firmware/common/structec.c
|
||||
../../../firmware/common/pathfuncs.c
|
||||
../../../firmware/common/crc32.c
|
||||
../../../firmware/buflib.c
|
||||
../../../firmware/buflib_mempool.c
|
||||
../../../firmware/core_alloc.c
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue