Work on ph_socket.c
This commit is contained in:
parent
55266068d5
commit
2f47ca42fc
|
@ -32,8 +32,8 @@
|
|||
#include "logging.h"
|
||||
#include "ph_socket.h"
|
||||
|
||||
int ph_socket_listen_cb(struct osmo_fd *ofd, unsigned int what);
|
||||
int ph_socket_connect_cb(struct osmo_fd *ofd, unsigned int what);
|
||||
int ph_socket_listen_cb(struct osmo_fd *ofd, unsigned int __attribute__((unused)) what);
|
||||
int ph_socket_connect_cb(struct osmo_fd *ofd, unsigned int __attribute__((unused)) what);
|
||||
static void ph_socket_timeout_cb(void *data);
|
||||
|
||||
static void open_connection(ph_socket_t *s)
|
||||
|
@ -176,7 +176,7 @@ void ph_socket_exit(ph_socket_t *s)
|
|||
osmo_timer_del(&s->retry_timer);
|
||||
}
|
||||
|
||||
int ph_socket_listen_cb(struct osmo_fd *ofd, unsigned int what)
|
||||
int ph_socket_listen_cb(struct osmo_fd *ofd, unsigned int __attribute__((unused)) what)
|
||||
{
|
||||
ph_socket_t *s = ofd->data;
|
||||
struct sockaddr_un sock_address;
|
||||
|
@ -209,7 +209,7 @@ int ph_socket_listen_cb(struct osmo_fd *ofd, unsigned int what)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int ph_socket_connect_cb(struct osmo_fd *ofd, unsigned int what)
|
||||
int ph_socket_connect_cb(struct osmo_fd *ofd, unsigned __attribute__((unused)) int what)
|
||||
{
|
||||
ph_socket_t *s = ofd->data;
|
||||
int rc;
|
||||
|
|
Loading…
Reference in New Issue