gentoo/dev-libs/eb/files/eb-4.4.1-remove-krdecl.patch
NHOrus fde7d79949
dev-libs/eb: update EAPI 7 -> 8, port to C23, always enable ipv6
Inclusion of existing patch, removal of extern decl and K&R def

Closes: https://bugs.gentoo.org/880525
Closes: https://bugs.gentoo.org/948904
Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
Signed-off-by: Sam James <sam@gentoo.org>
2025-03-10 01:39:22 +00:00

19 lines
542 B
Diff

Remove one forgoten K&R function definition
https://bugs.gentoo.org/880525
--- a/eb/binary.c 2025-02-27 15:00:13.585242692 +0400
+++ b/eb/binary.c 2025-02-27 15:02:39.112239956 +0400
@@ -923,12 +923,7 @@
* Read binary data.
*/
EB_Error_Code
-eb_read_binary(book, binary_max_length, binary, binary_length)
- EB_Book *book;
- size_t binary_max_length;
- char *binary;
- ssize_t *binary_length;
-
+eb_read_binary(EB_Book *book, size_t binary_max_length, char *binary, ssize_t *binary_length)
{
EB_Error_Code error_code;