Commit 31960f9a authored by Pekka Pessi's avatar Pekka Pessi

Added su_source_create() prototype to su-glib/so_source.c.

darcs-hash:20060512065924-65a35-40c91a3b0769df81f4edf553781c2d5959322420.gz
parent fb057f45
......@@ -44,7 +44,7 @@
SOFIA_BEGIN_DECLS
su_root_t *su_root_source_create(su_root_magic_t *);
su_root_t *su_root_source_create(su_root_magic_t *) __attribute__((__malloc__));
GSource *su_root_source(su_root_t *);
SOFIA_END_DECLS
......
......@@ -45,8 +45,6 @@
#include <string.h>
#include <limits.h>
#define Xyzzy (assert(!"implemented"), 0)
#include <glib.h>
#define SU_PORT_IMPLEMENTATION 1
......@@ -55,10 +53,13 @@
#define su_port_s su_source_s
#include "sofia-sip/su_source.h"
#include "sofia-sip/su.h"
#include "su_port.h"
#include "sofia-sip/su_alloc.h"
static su_port_t *su_source_create(void) __attribute__((__malloc__));
static gboolean su_source_prepare(GSource *gs, gint *return_tout);
static gboolean su_source_check(GSource *gs);
static gboolean su_source_dispatch(GSource *gs,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment