Browse Source

reorder headers and fix resulting errors

git.mgm/mediaproxy-ng/2.2
Richard Fuchs 13 years ago
parent
commit
7787ad3b28
15 changed files with 27 additions and 14 deletions
  1. +1
    -2
      daemon/aux.c
  2. +1
    -1
      daemon/bencode.c
  3. +2
    -1
      daemon/call.c
  4. +3
    -1
      daemon/control_ng.c
  5. +2
    -1
      daemon/control_tcp.c
  6. +2
    -1
      daemon/control_udp.c
  7. +3
    -1
      daemon/cookie_cache.c
  8. +2
    -1
      daemon/kernel.c
  9. +1
    -0
      daemon/kernel.h
  10. +2
    -1
      daemon/poller.c
  11. +2
    -1
      daemon/sdp.c
  12. +1
    -1
      daemon/str.c
  13. +2
    -1
      daemon/streambuf.c
  14. +2
    -1
      daemon/udp_listener.c
  15. +1
    -0
      daemon/udp_listener.h

+ 1
- 2
daemon/aux.c View File

@ -1,3 +1,4 @@
#include "aux.h"
#include <string.h>
#include <stdio.h>
#include <glib.h>
@ -5,8 +6,6 @@
#include <stdlib.h>
#include <pthread.h>
#include "aux.h"
#if 0


+ 1
- 1
daemon/bencode.c View File

@ -1,3 +1,4 @@
#include "bencode.h"
#include <stdio.h>
#include <sys/uio.h>
#include <unistd.h>
@ -5,7 +6,6 @@
#include <assert.h>
#include <string.h>
#include "bencode.h"
/* set to 0 for alloc debugging, e.g. through valgrind */
#define BENCODE_MIN_BUFFER_PIECE_LEN 512


+ 2
- 1
daemon/call.c View File

@ -1,3 +1,5 @@
#include "call.h"
#include <stdio.h>
#include <unistd.h>
#include <glib.h>
@ -13,7 +15,6 @@
#include <xmlrpc_client.h>
#include <sys/wait.h>
#include "call.h"
#include "poller.h"
#include "aux.h"
#include "log.h"


+ 3
- 1
daemon/control_ng.c View File

@ -1,6 +1,8 @@
#include "control_ng.h"
#include <sys/types.h>
#include <sys/socket.h>
#include "control_ng.h"
#include "obj.h"
#include "poller.h"
#include "bencode.h"


+ 2
- 1
daemon/control_tcp.c View File

@ -1,3 +1,5 @@
#include "control_tcp.h"
#include <sys/types.h>
#include <sys/socket.h>
#include <unistd.h>
@ -8,7 +10,6 @@
#include <stdarg.h>
#include <errno.h>
#include "control_tcp.h"
#include "poller.h"
#include "aux.h"
#include "streambuf.h"


+ 2
- 1
daemon/control_udp.c View File

@ -1,3 +1,5 @@
#include "control_udp.h"
#include <sys/types.h>
#include <sys/socket.h>
#include <unistd.h>
@ -9,7 +11,6 @@
#include <netinet/in.h>
#include <errno.h>
#include "control_udp.h"
#include "poller.h"
#include "aux.h"
#include "log.h"


+ 3
- 1
daemon/cookie_cache.c View File

@ -1,6 +1,8 @@
#include "cookie_cache.h"
#include <time.h>
#include <glib.h>
#include "cookie_cache.h"
#include "aux.h"
#include "poller.h"
#include "str.h"


+ 2
- 1
daemon/kernel.c View File

@ -1,3 +1,5 @@
#include "kernel.h"
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
@ -9,7 +11,6 @@
#include "xt_MEDIAPROXY.h"
#include "aux.h"
#include "kernel.h"


+ 1
- 0
daemon/kernel.h View File

@ -5,6 +5,7 @@
#include <sys/types.h>
#include <glib.h>
#include <netinet/in.h>


+ 2
- 1
daemon/poller.c View File

@ -1,3 +1,5 @@
#include "poller.h"
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
@ -11,7 +13,6 @@
#include <glib.h>
#include <sys/time.h>
#include "poller.h"
#include "aux.h"
#include "obj.h"


+ 2
- 1
daemon/sdp.c View File

@ -1,9 +1,10 @@
#include "sdp.h"
#include <glib.h>
#include <netinet/in.h>
#include <netinet/ip.h>
#include <arpa/inet.h>
#include "sdp.h"
#include "call.h"
#include "log.h"
#include "str.h"


+ 1
- 1
daemon/str.c View File

@ -1,5 +1,5 @@
#include <assert.h>
#include "str.h"
#include <assert.h>
guint str_hash(gconstpointer ss) {
const str *s = ss;


+ 2
- 1
daemon/streambuf.c View File

@ -1,3 +1,5 @@
#include "streambuf.h"
#include <stdio.h>
#include <glib.h>
#include <stdlib.h>
@ -6,7 +8,6 @@
#include <stdarg.h>
#include <time.h>
#include "streambuf.h"
#include "poller.h"
#include "aux.h"


+ 2
- 1
daemon/udp_listener.c View File

@ -1,3 +1,5 @@
#include "udp_listener.h"
#include <sys/types.h>
#include <netinet/in.h>
#include <sys/socket.h>
@ -5,7 +7,6 @@
#include <unistd.h>
#include <errno.h>
#include "udp_listener.h"
#include "poller.h"
#include "aux.h"
#include "str.h"


+ 1
- 0
daemon/udp_listener.h View File

@ -1,6 +1,7 @@
#ifndef _UDP_LISTENER_H_
#define _UDP_LISTENER_H_
#include <netinet/in.h>
#include "poller.h"
#include "str.h"


Loading…
Cancel
Save