projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a05c78
)
Add prototype for __strdup.
author
Ulrich Drepper
<drepper@redhat.com>
Fri, 23 Jun 2000 02:04:57 +0000
(
02:04
+0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Fri, 23 Jun 2000 02:04:57 +0000
(
02:04
+0000)
include/string.h
patch
|
blob
|
history
diff --git
a/include/string.h
b/include/string.h
index
7fe76b1
..
509fce2
100644
(file)
--- a/
include/string.h
+++ b/
include/string.h
@@
-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__;