summaryrefslogtreecommitdiff
path: root/firmware/include
diff options
context:
space:
mode:
authorBoris Gjenero <dreamlayers@rockbox.org>2011-11-29 00:42:27 +0000
committerBoris Gjenero <dreamlayers@rockbox.org>2011-11-29 00:42:27 +0000
commitd51e5983357593981e604b05ad3826f2496f4a6b (patch)
tree036fa986dcf4f6ec4c529dd74c5f996533f62d4f /firmware/include
parent297c29cba60e34ed01fb72974dcb562e58df322b (diff)
downloadrockbox-d51e5983357593981e604b05ad3826f2496f4a6b.tar.gz
rockbox-d51e5983357593981e604b05ad3826f2496f4a6b.zip
FS#12412 : Delete old buffer allocation code which has been replaced by core_alloc, and move buffer setup code to core_alloc.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31088 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/include')
-rw-r--r--firmware/include/buffer.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/firmware/include/buffer.h b/firmware/include/buffer.h
deleted file mode 100644
index bdf91bcb3f..0000000000
--- a/firmware/include/buffer.h
+++ /dev/null
@@ -1,38 +0,0 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2002 by Linus Nielsen Feltzing
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
16 *
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
19 *
20 ****************************************************************************/
21#ifndef BUFFER_H
22#define BUFFER_H
23
24#include "config.h"
25
26void buffer_init(void) INIT_ATTR;
27
28void* buffer_get_buffer(size_t *size);
29void buffer_release_buffer(size_t size);
30size_t buffer_available(void);
31
32void *buffer_alloc(size_t size);
33
34#ifdef BUFFER_ALLOC_DEBUG
35void buffer_alloc_check(char *name);
36#endif
37
38#endif