summaryrefslogtreecommitdiff
path: root/lib/tevent
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-03-19 00:46:08 +0100
committerJelmer Vernooij <jelmer@samba.org>2011-03-19 03:20:05 +0100
commitdf0b7f1c341904451c37bca41b02e1b6a791da5a (patch)
tree94810aff5c226739049d0b259f68c3d62aa2d074 /lib/tevent
parentfa387825e2a4563ff85267848d8e9d206bf6db96 (diff)
downloadsamba-df0b7f1c341904451c37bca41b02e1b6a791da5a.tar.gz
samba-df0b7f1c341904451c37bca41b02e1b6a791da5a.tar.bz2
samba-df0b7f1c341904451c37bca41b02e1b6a791da5a.zip
lib/: Fix prototypes for functions.
Diffstat (limited to 'lib/tevent')
-rw-r--r--lib/tevent/pytevent.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/tevent/pytevent.c b/lib/tevent/pytevent.c
index 22541bb624..bf348719d8 100644
--- a/lib/tevent/pytevent.c
+++ b/lib/tevent/pytevent.c
@@ -25,6 +25,8 @@
#include <Python.h>
#include <tevent.h>
+void init_tevent(void);
+
typedef struct {
PyObject_HEAD
struct tevent_context *ev;
@@ -86,7 +88,7 @@ static void py_set_fd_close_fn(struct tevent_fd *fde,
/* FIXME */
}
-uint16_t py_get_fd_flags(struct tevent_fd *fde)
+static uint16_t py_get_fd_flags(struct tevent_fd *fde)
{
/* FIXME */
return 0;