git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d2a25fd
)
guestfs.h: Add missing extern keyword before event functions.
author
Richard W.M. Jones
<rjones@redhat.com>
Fri, 15 Jul 2011 09:42:56 +0000
(10:42 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Fri, 15 Jul 2011 09:42:56 +0000
(10:42 +0100)
generator/generator_c.ml
patch
|
blob
|
history
diff --git
a/generator/generator_c.ml
b/generator/generator_c.ml
index
2e9607b
..
4537475
100644
(file)
--- a/
generator/generator_c.ml
+++ b/
generator/generator_c.ml
@@
-436,13
+436,13
@@
typedef void (*guestfs_event_callback) (
#endif
#define LIBGUESTFS_HAVE_SET_EVENT_CALLBACK 1
#endif
#define LIBGUESTFS_HAVE_SET_EVENT_CALLBACK 1
-int guestfs_set_event_callback (guestfs_h *g,
- guestfs_event_callback cb,
- uint64_t event_bitmask,
- int flags,
- void *opaque);
+
extern
int guestfs_set_event_callback (guestfs_h *g,
+
guestfs_event_callback cb,
+
uint64_t event_bitmask,
+
int flags,
+
void *opaque);
#define LIBGUESTFS_HAVE_DELETE_EVENT_CALLBACK 1
#define LIBGUESTFS_HAVE_DELETE_EVENT_CALLBACK 1
-void guestfs_delete_event_callback (guestfs_h *g, int event_handle);
+
extern
void guestfs_delete_event_callback (guestfs_h *g, int event_handle);
/* Old-style event handling. */
#ifndef GUESTFS_TYPEDEF_LOG_MESSAGE_CB
/* Old-style event handling. */
#ifndef GUESTFS_TYPEDEF_LOG_MESSAGE_CB