Changeset 487


Ignore:
Timestamp:
Aug 22, 2018, 9:16:56 PM (6 years ago)
Author:
viala@…
Message:

[libk/memcpt.c] Add .h in .c.

Fix needed for C99 or C11 where not static function must have a defined prototype.
libk/memcpy.c:28:8: warning: no previous declaration for 'memcpy' [-Wmissing-declarations]

void * memcpy( void * dst,

~

libk/memcpy.c: In function 'memcpy':
libk/memcpy.c:46:27: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]

unsigned char *csrc = (unsigned char*)wsrc;


libk/memcpy.c: At top level:
libk/memcpy.c:57:8: warning: no previous declaration for 'memset' [-Wmissing-declarations]

void * memset( void * dst,

~

libk/memcpy.c:89:5: warning: no previous declaration for 'memcmp' [-Wmissing-declarations]

int memcmp( const void * s1,

~

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.