summaryrefslogtreecommitdiff
path: root/security/cfs/patches/patch-af
blob: fe33b547b8ca35b9d00e321a7d578f3b6278b76a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-af,v 1.2 2012/10/26 20:24:19 joerg Exp $

--- cfs.h.orig	2012-10-26 13:15:56.000000000 +0000
+++ cfs.h
@@ -183,6 +183,11 @@ extern instance *instances[];
 extern nfstime roottime;
 extern cfs_fileid rootnode;
 
+void closeall(void);
+void freeinstance(int i);
+void freelist(cfs_fileid *f);
+void mask_cipher(cfskey *k, unsigned char *s, int d);
+
 #ifdef hpux
 #define seteuid(x) setresuid(-1,x,-1)
 #define setegid(x) setresgid(-1,x,-1)
@@ -224,4 +229,6 @@ extern cfs_fileid rootnode;
 #define d_fileno d_ino
 */
 #endif
-#include<stdlib.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>