Skip to content

Commit 2192824

Browse files
committed
teensy: Fix function prototype.
1 parent 3a84c8b commit 2192824

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

teensy/std.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ void *memcpy(void *dest, const void *src, size_t n);
1010
void *memmove(void *dest, const void *src, size_t n);
1111
void *memset(void *s, int c, size_t n);
1212

13-
int strlen(const char *str);
13+
size_t strlen(const char *str);
1414
int strcmp(const char *s1, const char *s2);
1515
int strncmp(const char *s1, const char *s2, size_t n);
1616
char *strcpy(char *dest, const char *src);

0 commit comments

Comments
 (0)