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
16 */16 */
17 17
18#include <inttypes.h>18#include <inttypes.h>
19#include <libmpv/client.h>
20#include <stdarg.h>19#include <stdarg.h>
21#include <stdio.h>20#include <stdio.h>
22#include <stdlib.h>21#include <stdlib.h>
@@ -29,6 +28,8 @@ · 6 unmodified lines
29#include <unistd.h>28#include <unistd.h>
30#endif29#endif
31 30
31#include <libmpv/client.h>
32
32// Stolen from osdep/compiler.h33// Stolen from osdep/compiler.h
33#ifdef __GNUC__34#ifdef __GNUC__
34#define PRINTF_ATTRIBUTE(a1, a2) __attribute__ ((format(printf, a1, a2)))35#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