diff options
Diffstat (limited to '')
-rw-r--r-- | src/alloc/alloc.c | 6 | ||||
-rw-r--r-- | src/alloc/calloc.c | 6 | ||||
-rw-r--r-- | src/alloc/free.c | 6 | ||||
-rw-r--r-- | src/alloc/malloc.c | 6 | ||||
-rw-r--r-- | src/alloc/memdup.c | 6 | ||||
-rw-r--r-- | src/alloc/realloc.c | 6 | ||||
-rw-r--r-- | src/mem/memccpy.c | 6 | ||||
-rw-r--r-- | src/mem/memchr.c | 6 | ||||
-rw-r--r-- | src/mem/memcmp.c | 11 | ||||
-rw-r--r-- | src/mem/memcpy.c | 6 | ||||
-rw-r--r-- | src/mem/memhash.c | 6 | ||||
-rw-r--r-- | src/mem/memlen.c | 6 | ||||
-rw-r--r-- | src/mem/memmem.c | 6 | ||||
-rw-r--r-- | src/mem/memmove.c | 6 | ||||
-rw-r--r-- | src/mem/memrchr.c | 6 | ||||
-rw-r--r-- | src/mem/memrev.c | 6 | ||||
-rw-r--r-- | src/mem/memset.c | 6 | ||||
-rw-r--r-- | src/mem/memswap.c | 6 | ||||
-rw-r--r-- | src/mem/memzero.c | 6 |
19 files changed, 119 insertions, 0 deletions
diff --git a/src/alloc/alloc.c b/src/alloc/alloc.c index 0ff8ff4..b809956 100644 --- a/src/alloc/alloc.c +++ b/src/alloc/alloc.c @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2023 Marc Pervaz Boocha + * + * SPDX-License-Identifier: MIT + */ + #include <alloc.h> #include <stdlib.h> diff --git a/src/alloc/calloc.c b/src/alloc/calloc.c index 666e0ba..a1a567c 100644 --- a/src/alloc/calloc.c +++ b/src/alloc/calloc.c @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2023 Marc Pervaz Boocha + * + * SPDX-License-Identifier: MIT + */ + #include <alloc.h> #include <mem.h> diff --git a/src/alloc/free.c b/src/alloc/free.c index ef2654d..90d16d5 100644 --- a/src/alloc/free.c +++ b/src/alloc/free.c @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2023 Marc Pervaz Boocha + * + * SPDX-License-Identifier: MIT + */ + #include <alloc.h> extern inline void calt_free(void *ptr); diff --git a/src/alloc/malloc.c b/src/alloc/malloc.c index 9a2e81d..3abcf2e 100644 --- a/src/alloc/malloc.c +++ b/src/alloc/malloc.c @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2023 Marc Pervaz Boocha + * + * SPDX-License-Identifier: MIT + */ + #include <alloc.h> extern inline void *calt_malloc(size_t size); diff --git a/src/alloc/memdup.c b/src/alloc/memdup.c index 60aa35e..dd58856 100644 --- a/src/alloc/memdup.c +++ b/src/alloc/memdup.c @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2023 Marc Pervaz Boocha + * + * SPDX-License-Identifier: MIT + */ + #include <alloc.h> #include <mem.h> diff --git a/src/alloc/realloc.c b/src/alloc/realloc.c index 490ba75..0bb1280 100644 --- a/src/alloc/realloc.c +++ b/src/alloc/realloc.c @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2023 Marc Pervaz Boocha + * + * SPDX-License-Identifier: MIT + */ + #include <alloc.h> #include <mem.h> diff --git a/src/mem/memccpy.c b/src/mem/memccpy.c index 71b5a94..810b71b 100644 --- a/src/mem/memccpy.c +++ b/src/mem/memccpy.c @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2023 Marc Pervaz Boocha + * + * SPDX-License-Identifier: MIT + */ + #include <mem.h> void *calt_memccpy(void *restrict dest, void const *restrict src, unsigned char value, diff --git a/src/mem/memchr.c b/src/mem/memchr.c index 35015db..b583ab3 100644 --- a/src/mem/memchr.c +++ b/src/mem/memchr.c @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2023 Marc Pervaz Boocha + * + * SPDX-License-Identifier: MIT + */ + #include <mem.h> extern inline void *calt_memchr(void const *ptr, unsigned char value, size_t count); diff --git a/src/mem/memcmp.c b/src/mem/memcmp.c index 829325b..bcb2fb5 100644 --- a/src/mem/memcmp.c +++ b/src/mem/memcmp.c @@ -1,3 +1,14 @@ +/* + * Copyright (c) 2023 Marc Pervaz Boocha + * + * SPDX-License-Identifier: MIT + */ + +/* + * Copyright (c) 2023 Marc Pervaz Boocha + * + * SPDX-License-Identifier: MIT + */ #include <mem.h> extern inline int calt_memcmp(void const *ptr1, void const *ptr2, size_t count); diff --git a/src/mem/memcpy.c b/src/mem/memcpy.c index 3372032..7880c53 100644 --- a/src/mem/memcpy.c +++ b/src/mem/memcpy.c @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2023 Marc Pervaz Boocha + * + * SPDX-License-Identifier: MIT + */ + #include <mem.h> extern inline void *calt_memcpy(void *restrict dest, void const *restrict src, diff --git a/src/mem/memhash.c b/src/mem/memhash.c index d752fed..c5cfc62 100644 --- a/src/mem/memhash.c +++ b/src/mem/memhash.c @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2023 Marc Pervaz Boocha + * + * SPDX-License-Identifier: MIT + */ + #include <limits.h> #include <stdint.h> #include <mem.h> diff --git a/src/mem/memlen.c b/src/mem/memlen.c index dfb45fb..6d6ddfe 100644 --- a/src/mem/memlen.c +++ b/src/mem/memlen.c @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2023 Marc Pervaz Boocha + * + * SPDX-License-Identifier: MIT + */ + #include <mem.h> extern inline size_t calt_memlen(void const *ptr, unsigned char value, size_t count); diff --git a/src/mem/memmem.c b/src/mem/memmem.c index 8745923..14be8cc 100644 --- a/src/mem/memmem.c +++ b/src/mem/memmem.c @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2023 Marc Pervaz Boocha + * + * SPDX-License-Identifier: MIT + */ + #include <mem.h> extern inline void *calt_memmem(void const *haystack, size_t haystacklen, diff --git a/src/mem/memmove.c b/src/mem/memmove.c index 79a4ebb..b6c6b1e 100644 --- a/src/mem/memmove.c +++ b/src/mem/memmove.c @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2023 Marc Pervaz Boocha + * + * SPDX-License-Identifier: MIT + */ + #include <mem.h> extern inline void *calt_memmove(void *dest, void const *src, size_t count); diff --git a/src/mem/memrchr.c b/src/mem/memrchr.c index a8d59f2..1799d27 100644 --- a/src/mem/memrchr.c +++ b/src/mem/memrchr.c @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2023 Marc Pervaz Boocha + * + * SPDX-License-Identifier: MIT + */ + #include <mem.h> extern inline void *calt_memrchr(void const *ptr, unsigned char value, size_t count); diff --git a/src/mem/memrev.c b/src/mem/memrev.c index fbc7516..472efcb 100644 --- a/src/mem/memrev.c +++ b/src/mem/memrev.c @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2023 Marc Pervaz Boocha + * + * SPDX-License-Identifier: MIT + */ + #include <mem.h> extern inline void calt_memrev(void *ptr, size_t size); diff --git a/src/mem/memset.c b/src/mem/memset.c index df4c3cd..48fee61 100644 --- a/src/mem/memset.c +++ b/src/mem/memset.c @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2023 Marc Pervaz Boocha + * + * SPDX-License-Identifier: MIT + */ + #include <mem.h> extern inline void *calt_memset(void *dest, unsigned char value, size_t count); diff --git a/src/mem/memswap.c b/src/mem/memswap.c index 612fde5..512c8c9 100644 --- a/src/mem/memswap.c +++ b/src/mem/memswap.c @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2023 Marc Pervaz Boocha + * + * SPDX-License-Identifier: MIT + */ + #include <mem.h> extern inline void calt_memswap(void *restrict ptr1, void *restrict ptr2, size_t size); diff --git a/src/mem/memzero.c b/src/mem/memzero.c index 9388516..c92691f 100644 --- a/src/mem/memzero.c +++ b/src/mem/memzero.c @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2023 Marc Pervaz Boocha + * + * SPDX-License-Identifier: MIT + */ + #include <mem.h> extern inline void *calt_memzero(void *restrict dest, size_t count); |