Changeset 33b8d024 in mainline for uspace/lib/c
- Timestamp:
- 2018-01-16T20:38:46Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2467b41
- Parents:
- d39c46e0
- Location:
- uspace/lib/c
- Files:
-
- 3 edited
-
generic/malloc.c (modified) (2 diffs)
-
include/ipc/devman.h (modified) (1 diff)
-
include/malloc.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/malloc.c
rd39c46e0 r33b8d024 874 874 * 875 875 */ 876 void *realloc( const void *addr, const size_t size)876 void *realloc(void * const addr, const size_t size) 877 877 { 878 878 if (size == 0) { … … 988 988 * 989 989 */ 990 void free( const void *addr)990 void free(void * const addr) 991 991 { 992 992 if (addr == NULL) -
uspace/lib/c/include/ipc/devman.h
rd39c46e0 r33b8d024 74 74 /** Id of device model. 75 75 */ 76 c onst char *id;76 char *id; 77 77 /** Relevancy of device-to-driver match. 78 78 * The higher is the product of scores specified for the device by the bus driver and by the leaf driver, -
uspace/lib/c/include/malloc.h
rd39c46e0 r33b8d024 38 38 #include <stddef.h> 39 39 40 extern void *malloc( constsize_t size)40 extern void *malloc(size_t size) 41 41 __attribute__((malloc)); 42 extern void *calloc( const size_t nmemb, constsize_t size)42 extern void *calloc(size_t nmemb, size_t size) 43 43 __attribute__((malloc)); 44 extern void *memalign( const size_t align, constsize_t size)44 extern void *memalign(size_t align, size_t size) 45 45 __attribute__((malloc)); 46 extern void *realloc( const void *addr, constsize_t size)46 extern void *realloc(void *addr, size_t size) 47 47 __attribute__((warn_unused_result)); 48 extern void free( constvoid *addr);48 extern void free(void *addr); 49 49 extern void *heap_check(void); 50 50
Note:
See TracChangeset
for help on using the changeset viewer.
