History

various: reduce the include scope of some public headers

Kacper Michajłow committed 1 year ago

Commit 77313f71 parent b848ffa16 files · +30 −24Browse files

Showing the changes to test/libmpv_encode.c (1 of 16 files). Show all

Unified · Split

test/libmpv_encode.c+2−1
@@ -16,7 +16,6 @@ · 15 unmodified lines
1616 */
1717
1818 #include <inttypes.h>
19−#include <libmpv/client.h>
2019 #include <stdarg.h>
2120 #include <stdio.h>
2221 #include <stdlib.h>
@@ -29,6 +28,8 @@ · 6 unmodified lines
2928 #include <unistd.h>
3029 #endif
3130
31+#include <libmpv/client.h>
32+
3233 // Stolen from osdep/compiler.h
3334 #ifdef __GNUC__
3435 #define PRINTF_ATTRIBUTE(a1, a2) __attribute__ ((format(printf, a1, a2)))

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t