Skip to content

Commit

Permalink
Add prototype for __strdup.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrich Drepper committed Jun 23, 2000
1 parent 6a05c78 commit 1474648
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/string.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ extern int __strncasecmp (__const char *__s1, __const char *__s2,
size_t __n)
__attribute_pure__;

extern char *__strdup (__const char *__string)
__attribute_malloc__;
extern char *__strndup (__const char *__string, size_t __n)
__attribute_malloc__;

Expand Down

0 comments on commit 1474648

Please sign in to comment.