1
0
Fork 0
mirror of https://github.com/albfan/miraclecast.git synced 2025-03-09 23:38:56 +00:00

miracled: move link_make_name() declaration

Make the header consistent and move independent helpers above the real
object handling.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
This commit is contained in:
David Herrmann 2014-02-10 12:15:05 +01:00
parent 051b584746
commit 062c73ecf3

View file

@ -58,12 +58,13 @@ struct peer {
#define peer_from_list(_p) \
shl_dlist_entry((_p), struct peer, list)
int peer_make_name(unsigned int id, char **out);
int peer_new_wifi(struct link *l, struct wifi_dev *d, struct peer **out);
void peer_free(struct peer *p);
void peer_process_wifi(struct peer *p, struct wifi_event *ev);
int peer_make_name(unsigned int id, char **out);
/* link */