Skip to content

Commit

Permalink
Allow bitmap to be used in userspace
Browse files Browse the repository at this point in the history
  • Loading branch information
mcimerman committed Dec 22, 2024
1 parent 12dd36c commit 64c8132
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
3 changes: 1 addition & 2 deletions common/adt/bitmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

/** @addtogroup kernel_generic_adt
/** @addtogroup libc
* @{
*/
/**
Expand All @@ -42,7 +42,6 @@
#include <align.h>
#include <assert.h>
#include <macros.h>
#include <typedefs.h>

#define ALL_ONES 0xff
#define ALL_ZEROES 0x00
Expand Down
6 changes: 3 additions & 3 deletions common/include/adt/bitmap.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

/** @addtogroup kernel_generic_adt
/** @addtogroup libc
* @{
*/
/** @file
*/

#ifndef KERN_BITMAP_H_
#define KERN_BITMAP_H_
#ifndef _LIBC_BITMAP_H_
#define _LIBC_BITMAP_H_

#include <stddef.h>
#include <stdbool.h>
Expand Down
1 change: 1 addition & 0 deletions uspace/lib/c/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ endforeach
src = [ arch_src ]

src += files(
'common/adt/bitmap.c',
'common/adt/checksum.c',
'common/adt/circ_buf.c',
'common/adt/list.c',
Expand Down

0 comments on commit 64c8132

Please sign in to comment.