summaryrefslogtreecommitdiffstats
path: root/ncr_int.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2010-05-27 09:56:07 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-06-17 20:47:37 +0200
commit71eb8aa3b9c05b5ab8b8ab9cc0e245349dc2402d (patch)
tree4754b8563f6aef0f366bae8440f2c2429dfdc88d /ncr_int.h
parent44a303448660197234b5eea47747557f485bf959 (diff)
downloadcryptodev-linux-71eb8aa3b9c05b5ab8b8ab9cc0e245349dc2402d.tar.gz
cryptodev-linux-71eb8aa3b9c05b5ab8b8ab9cc0e245349dc2402d.tar.xz
cryptodev-linux-71eb8aa3b9c05b5ab8b8ab9cc0e245349dc2402d.zip
Some updates to compile.
Diffstat (limited to 'ncr_int.h')
-rw-r--r--ncr_int.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/ncr_int.h b/ncr_int.h
index 4e9e25a..1e0b7af 100644
--- a/ncr_int.h
+++ b/ncr_int.h
@@ -1,3 +1,8 @@
+#ifndef NCR_INT_H
+# define NCR_INT_H
+
+#include "ncr.h"
+
struct data_item {
struct list_head list;
void* data;
@@ -23,5 +28,8 @@ struct ncr_lists {
void* ncr_init_lists(void);
void ncr_deinit_lists(struct ncr_lists *lst);
-int ncr_ioctl(struct ncr_lists* lists,
+int
+ncr_ioctl(unsigned int uid, struct ncr_lists* lst,
unsigned int cmd, unsigned long arg);
+
+#endif