mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
r26514: Revert the talloc.c part of r26511, as talloc.h already takes care of thois.
Thanks to metze for pointing this out (cherry picked from commit4a5e1047ff
) (This used to be commit523cc93f89
)
This commit is contained in:
parent
375ca336fe
commit
b725e9e586
@ -1436,8 +1436,6 @@ char *talloc_strndup_append_buffer(char *s, const char *a, size_t n)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
char *talloc_vasprintf(const void *t, const char *fmt, va_list ap) PRINTF_ATTRIBUTE(2,0);
|
||||
|
||||
char *talloc_vasprintf(const void *t, const char *fmt, va_list ap)
|
||||
{
|
||||
int len;
|
||||
@ -1469,7 +1467,6 @@ char *talloc_vasprintf(const void *t, const char *fmt, va_list ap)
|
||||
Perform string formatting, and return a pointer to newly allocated
|
||||
memory holding the result, inside a memory pool.
|
||||
*/
|
||||
char *talloc_asprintf(const void *t, const char *fmt, ...) PRINTF_ATTRIBUTE(2,3);
|
||||
char *talloc_asprintf(const void *t, const char *fmt, ...)
|
||||
{
|
||||
va_list ap;
|
||||
|
Loading…
Reference in New Issue
Block a user