Skip to content

Commit 653478c

Browse files
stackiaclaude
andcommitted
chore: remove unused #include directives and clean up .clangd formatting
Remove unused header includes from http_proxy.c, http_proxy_rewrite.c, m3u.c, rtp_fec.h, and stream.c. Also remove unnecessary YAML document separators from .clangd config. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 4947648 commit 653478c

6 files changed

Lines changed: 0 additions & 8 deletions

File tree

.clangd

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
# yaml-language-server: $schema=https://json.schemastore.org/clangd.json
2-
---
32
CompileFlags:
43
Add: [-xc]
5-
---

src/http_proxy.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,11 @@
44
#include "connection.h"
55
#include "http.h" /* For http_url_encode */
66
#include "http_proxy_rewrite.h"
7-
#include "multicast.h"
87
#include "platform_compat.h"
98
#include "poller.h"
109
#include "status.h"
1110
#include "utils.h"
1211
#include "worker.h"
13-
#include "zerocopy.h"
1412
#include <arpa/inet.h>
1513
#include <errno.h>
1614
#include <netdb.h>

src/http_proxy_rewrite.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
#include "http_proxy_rewrite.h"
1010
#include "configuration.h"
11-
#include "http.h" /* For http_url_encode */
1211
#include "http_proxy.h"
1312
#include "utils.h"
1413
#include <ctype.h>

src/m3u.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#include "epg.h"
44
#include "http.h"
55
#include "http_fetch.h"
6-
#include "http_proxy.h"
76
#include "md5.h"
87
#include "service.h"
98
#include "url_template.h"

src/rtp_fec.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
#include <stdint.h>
1212

13-
#include "buffer_pool.h"
1413
#include "rs_fec.h"
1514

1615
/* Maximum number of FEC groups to track per stream */

src/stream.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
#include "snapshot.h"
1010
#include "status.h"
1111
#include "utils.h"
12-
#include "worker.h"
1312
#include <arpa/inet.h>
1413
#include <errno.h>
1514
#include <netdb.h>

0 commit comments

Comments
 (0)