Commit graph

5 commits

Author SHA1 Message Date
Alex Henrie
9716a1a97d include: Remove __WINE_MALLOC from functions that shouldn't have it.
According to the GCC documentation,[1] __attribute__((malloc)) may not
be used on functions that return memory that contains one or more valid
pointers.

[1] https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html
2023-01-30 16:49:55 +01:00
Alex Henrie
68852827a1 include: Annotate ber_(alloc_t|bvdup|init) with __WINE_(DEALLOC|MALLOC). 2022-12-03 00:05:16 +01:00
Hans Leidekker
8db46756ca wldap32: Get rid of the WLDAP32_ prefix.
We can now include the public header without conflicts.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-19 20:08:48 +02:00
Hans Leidekker
1114f2970d wldap32: Move support for ber functions to the Unix library.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-14 17:04:35 +02:00
Hans Leidekker
3f25be74fc include: Add winber.h.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-06 22:46:12 +02:00