Changeset dc5c303 in mainline for kernel/generic/include/memw.h


Ignore:
Timestamp:
2023-12-28T13:59:23Z (2 years ago)
Author:
GitHub <noreply@…>
Children:
6b66de6b
Parents:
42c2e65 (diff), f87ff8e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
boba-buba <120932204+boba-buba@…> (2023-12-28 13:59:23)
git-committer:
GitHub <noreply@…> (2023-12-28 13:59:23)
Message:

Merge branch 'master' into topic/packet-capture

File:
1 moved

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/memw.h

    r42c2e65 rdc5c303  
    11/*
    2  * Copyright (c) 2005 Sergey Bondari
     2 * Copyright (c) 2001-2004 Jakub Jermar
    33 * All rights reserved.
    44 *
     
    3333 */
    3434
    35 #ifndef KERN_GSORT_H_
    36 #define KERN_GSORT_H_
     35#ifndef KERN_MEM_H_
     36#define KERN_MEM_H_
    3737
    38 #include <stdbool.h>
    3938#include <stddef.h>
     39#include <stdint.h>
    4040
    41 typedef int (*sort_cmp_t)(void *, void *, void *);
     41#include <mem.h>
    4242
    43 extern bool gsort(void *, size_t, size_t, sort_cmp_t, void *);
     43extern void memsetb(void *, size_t, uint8_t)
     44    __attribute__((nonnull(1)));
     45extern void memsetw(void *, size_t, uint16_t)
     46    __attribute__((nonnull(1)));
    4447
    4548#endif
Note: See TracChangeset for help on using the changeset viewer.