mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-04-11 16:37:45 -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
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue