Line 0
Link Here
|
0 |
- |
1 |
From 3232e537ccaba4417b25d9d70264e4a5533042da Mon Sep 17 00:00:00 2001 |
|
|
2 |
From: Nicholas Marriott <nicholas.marriott@gmail.com> |
3 |
Date: Mon, 18 Mar 2019 13:04:00 +0000 |
4 |
Subject: [PATCH] Fix bas64 declarations, from makepost at firemail dot cc. |
5 |
|
6 |
--- |
7 |
fdm.h | 5 ++--- |
8 |
1 file changed, 2 insertions(+), 3 deletions(-) |
9 |
|
10 |
diff --git a/fdm.h b/fdm.h |
11 |
index 41eaa37..511a7b1 100644 |
12 |
--- a/fdm.h |
13 |
+++ b/fdm.h |
14 |
@@ -20,7 +20,6 @@ |
15 |
#define FDM_H |
16 |
|
17 |
#include <sys/param.h> |
18 |
-#include <sys/cdefs.h> |
19 |
#include <sys/stat.h> |
20 |
|
21 |
#ifdef HAVE_QUEUE_H |
22 |
@@ -725,8 +724,8 @@ size_t strlcat(char *, const char *, size_t); |
23 |
|
24 |
#ifndef HAVE_B64_NTOP |
25 |
/* base64.c */ |
26 |
-int b64_ntop(src, srclength, target, targsize); |
27 |
-int b64_pton(src, target, targsize); |
28 |
+int b64_ntop(u_char const *, size_t, char *, size_t); |
29 |
+int b64_pton(char const *, u_char *, size_t); |
30 |
#endif |
31 |
|
32 |
/* shm.c */ |