aports/community/outils/implicit-int.patch
2023-04-21 00:41:10 +02:00

31 lines
816 B
Diff

fixes implicit use of this in these, defined in other files
just a dirty hotfix
diff --git a/src/liboutils/outils.h b/src/liboutils/outils.h
index 7e9a7ec..faee8ed 100644
--- a/src/liboutils/outils.h
+++ b/src/liboutils/outils.h
@@ -8,6 +8,9 @@
#define __BEGIN_DECLS
#define __END_DECLS
+int
+__b64_ntop(src, srclength, target, targsize);
+
#define b64_ntop __b64_ntop
#define b64_pton __b64_pton
diff --git a/src/usr.bin/lam/lam.c b/src/usr.bin/lam/lam.c
index 9c009f2..4e0219d 100644
--- a/src/usr.bin/lam/lam.c
+++ b/src/usr.bin/lam/lam.c
@@ -48,6 +48,9 @@
#define BIGBUFSIZ 5 * BUFSIZ
+void *
+recallocarray(void *ptr, size_t oldnmemb, size_t newnmemb, size_t size);
+
struct openfile { /* open file structure */
FILE *fp; /* file pointer */
int minwidth; /* pad this column to this width */