From: Sascha Wildner Date: Wed, 10 Apr 2019 18:31:26 +0000 (+0200) Subject: libc/rpc: Fix some -Wmissing-prototypes. X-Git-Tag: v5.7.0~321 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/abb0820cccf4855a3a3df804e5e47eae020d4689 libc/rpc: Fix some -Wmissing-prototypes. --- diff --git a/lib/libc/rpc/des_soft.c b/lib/libc/rpc/des_soft.c index 53a762536c..a71a50c078 100644 --- a/lib/libc/rpc/des_soft.c +++ b/lib/libc/rpc/des_soft.c @@ -25,9 +25,10 @@ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. - * - * $DragonFly: src/lib/libc/rpc/des_soft.c,v 1.2 2005/11/13 12:27:04 swildner Exp $ */ + +#include + /* * Table giving odd parity in the low bit for ASCII characters */ diff --git a/lib/libc/rpc/key_call.c b/lib/libc/rpc/key_call.c index ed94a0f917..5d4b7b00fc 100644 --- a/lib/libc/rpc/key_call.c +++ b/lib/libc/rpc/key_call.c @@ -85,6 +85,11 @@ des_block *(*__key_gendes_LOCAL)() = NULL; static int key_call( u_long, xdrproc_t, void *, xdrproc_t, void *); +int key_decryptsession_pk(char *, netobj *, des_block *); +int key_encryptsession_pk(char *, netobj *, des_block *); +int key_get_conv(char *, des_block *); +int key_setnet(struct key_netstarg *); + int key_setsecret(const char *secretkey) {