fix various compiler warnings
[asterisk/asterisk.git] / channels / chan_features.c
index 9ddfc54..9a6b441 100755 (executable)
 
 #include <stdio.h>
 #include <string.h>
-#include <asterisk/lock.h>
-#include <asterisk/channel.h>
-#include <asterisk/config.h>
-#include <asterisk/logger.h>
-#include <asterisk/module.h>
-#include <asterisk/pbx.h>
-#include <asterisk/options.h>
-#include <asterisk/lock.h>
-#include <asterisk/sched.h>
-#include <asterisk/io.h>
-#include <asterisk/rtp.h>
-#include <asterisk/acl.h>
-#include <asterisk/callerid.h>
-#include <asterisk/file.h>
-#include <asterisk/cli.h>
-#include <asterisk/app.h>
-#include <asterisk/musiconhold.h>
-#include <asterisk/manager.h>
+#include "asterisk/lock.h"
+#include "asterisk/channel.h"
+#include "asterisk/config.h"
+#include "asterisk/logger.h"
+#include "asterisk/module.h"
+#include "asterisk/pbx.h"
+#include "asterisk/options.h"
+#include "asterisk/lock.h"
+#include "asterisk/sched.h"
+#include "asterisk/io.h"
+#include "asterisk/rtp.h"
+#include "asterisk/acl.h"
+#include "asterisk/callerid.h"
+#include "asterisk/file.h"
+#include "asterisk/cli.h"
+#include "asterisk/app.h"
+#include "asterisk/musiconhold.h"
+#include "asterisk/manager.h"
 #include <sys/socket.h>
 #include <errno.h>
 #include <unistd.h>
@@ -123,6 +123,7 @@ static inline int indexof(struct feature_pvt *p, struct ast_channel *owner, int
        return -1;
 }
 
+#if 0
 static void wakeup_sub(struct feature_pvt *p, int a)
 {
        struct ast_frame null = { AST_FRAME_NULL, };
@@ -141,6 +142,7 @@ static void wakeup_sub(struct feature_pvt *p, int a)
                        break;
        }
 }
+#endif
 
 static void restore_channel(struct feature_pvt *p, int index)
 {
@@ -180,6 +182,7 @@ static void update_features(struct feature_pvt *p, int index)
        }
 }
 
+#if 0
 static void swap_subs(struct feature_pvt *p, int a, int b)
 {
        int tinthreeway;
@@ -200,6 +203,7 @@ static void swap_subs(struct feature_pvt *p, int a, int b)
        wakeup_sub(p, a);
        wakeup_sub(p, b);
 }
+#endif
 
 static int features_answer(struct ast_channel *ast)
 {