History

various: move strings.h inclusion to common.h

Kacper Michajłow committed 2 years ago

Commit fffe7231 parent 18ef83421 files · +4 −20Browse files

Unified · Split

21 files
  1. common/common.h +1 −0
  2. common/tags.c +1 −1
  3. demux/demux_lavf.c +1 −1
  4. demux/demux_mf.c +0 −1
  5. demux/demux_mkv_timeline.c +0 −1
  6. demux/demux_playlist.c +0 −1
  7. input/keycodes.c +0 −1
  8. misc/bstr.c +0 −1
  9. misc/charset_conv.c +1 −1
  10. misc/language.c +0 −1
  11. options/m_config_core.c +0 −1
  12. options/m_config_frontend.c +0 −1
  13. player/external_files.c +0 −1
  14. player/javascript.c +0 −1
  15. player/loadfile.c +0 −1
  16. player/lua.c +0 −1
  17. player/scripting.c +0 −1
  18. stream/stream.c +0 −1
  19. stream/stream_bluray.c +0 −1
  20. stream/stream_dvdnav.c +0 −1
  21. video/out/opengl/common.c +0 −1
common/common.h+1−0
@@ -27,6 +27,7 @@ · 26 unmodified lines
2727 #include "config.h"
2828
2929 #if HAVE_POSIX || defined(__MINGW32__)
30+#include <strings.h>
3031 #include <unistd.h>
3132 #endif
3233
common/tags.c+1−1
@@ -17,9 +17,9 @@ · 16 unmodified lines
1717
1818 #include <stddef.h>
1919 #include <limits.h>
20−#include <strings.h>
2120 #include <assert.h>
2221 #include <libavutil/dict.h>
22+#include "common.h"
2323 #include "tags.h"
2424 #include "misc/bstr.h"
2525
demux/demux_lavf.c+1−1
@@ -21,7 +21,6 @@ · 20 unmodified lines
2121 #include <limits.h>
2222 #include <stdbool.h>
2323 #include <string.h>
24−#include <strings.h>
2524 #include <errno.h>
2625 #include <assert.h>
2726
@@ -41,6 +40,7 @@ · 13 unmodified lines
4140
4241 #include "audio/chmap_avchannel.h"
4342
43+#include "common/common.h"
4444 #include "common/msg.h"
4545 #include "common/tags.h"
4646 #include "common/av_common.h"
demux/demux_mf.c+0−1
@@ -19,7 +19,6 @@ · 18 unmodified lines
1919 #include <stdbool.h>
2020 #include <stdio.h>
2121 #include <stdlib.h>
22−#include <strings.h>
2322 #include <sys/types.h>
2423 #include <sys/stat.h>
2524
demux/demux_mkv_timeline.c+0−1
@@ -21,7 +21,6 @@ · 20 unmodified lines
2121 #include <assert.h>
2222 #include <dirent.h>
2323 #include <string.h>
24−#include <strings.h>
2524 #include <sys/types.h>
2625 #include <sys/stat.h>
2726 #include <libavutil/common.h>
demux/demux_playlist.c+0−1
@@ -17,7 +17,6 @@ · 16 unmodified lines
1717
1818 #include <stdlib.h>
1919 #include <string.h>
20−#include <strings.h>
2120 #include <dirent.h>
2221
2322 #include <libavutil/common.h>
input/keycodes.c+0−1
@@ -17,7 +17,6 @@ · 16 unmodified lines
1717
1818 #include <stddef.h>
1919 #include <string.h>
20−#include <strings.h>
2120
2221 #include "misc/bstr.h"
2322 #include "common/common.h"
misc/bstr.c+0−1
@@ -16,7 +16,6 @@ · 15 unmodified lines
1616 */
1717
1818 #include <string.h>
19−#include <strings.h>
2019 #include <assert.h>
2120 #include <stdarg.h>
2221 #include <stdint.h>
misc/charset_conv.c+1−1
@@ -21,11 +21,11 @@ · 20 unmodified lines
2121
2222 #include <stdlib.h>
2323 #include <errno.h>
24−#include <strings.h>
2524 #include <assert.h>
2625
2726 #include "config.h"
2827
28+#include "common/common.h"
2929 #include "common/msg.h"
3030
3131 #if HAVE_UCHARDET
misc/language.c+0−1
@@ -26,7 +26,6 @@ · 25 unmodified lines
2626 #include <stddef.h>
2727 #include <stdlib.h>
2828 #include <string.h>
29−#include <strings.h>
3029
3130 static const struct lang {
3231 char match[4];
options/m_config_core.c+0−1
@@ -22,7 +22,6 @@ · 21 unmodified lines
2222 #include <stdio.h>
2323 #include <stdlib.h>
2424 #include <string.h>
25−#include <strings.h>
2625
2726 #include "common/common.h"
2827 #include "common/global.h"
options/m_config_frontend.c+0−1
@@ -23,7 +23,6 @@ · 22 unmodified lines
2323 #include <stdio.h>
2424 #include <stdlib.h>
2525 #include <string.h>
26−#include <strings.h>
2726
2827 #include "libmpv/client.h"
2928
player/external_files.c+0−1
@@ -17,7 +17,6 @@ · 16 unmodified lines
1717
1818 #include <dirent.h>
1919 #include <string.h>
20−#include <strings.h>
2120 #include <stdlib.h>
2221 #include <assert.h>
2322
player/javascript.c+0−1
@@ -17,7 +17,6 @@ · 16 unmodified lines
1717
1818 #include <assert.h>
1919 #include <string.h>
20−#include <strings.h>
2120 #include <sys/types.h>
2221 #include <sys/stat.h>
2322 #include <dirent.h>
player/loadfile.c+0−1
@@ -17,7 +17,6 @@ · 16 unmodified lines
1717
1818 #include <stddef.h>
1919 #include <stdbool.h>
20−#include <strings.h>
2120 #include <inttypes.h>
2221 #include <assert.h>
2322
player/lua.c+0−1
@@ -17,7 +17,6 @@ · 16 unmodified lines
1717
1818 #include <assert.h>
1919 #include <string.h>
20−#include <strings.h>
2120 #include <sys/types.h>
2221 #include <sys/stat.h>
2322 #include <dirent.h>
player/scripting.c+0−1
@@ -16,7 +16,6 @@ · 15 unmodified lines
1616 */
1717
1818 #include <string.h>
19−#include <strings.h>
2019 #include <sys/types.h>
2120 #include <dirent.h>
2221 #include <math.h>
stream/stream.c+0−1
@@ -19,7 +19,6 @@ · 18 unmodified lines
1919 #include <stdlib.h>
2020 #include <limits.h>
2121
22−#include <strings.h>
2322 #include <assert.h>
2423
2524 #include "osdep/io.h"
stream/stream_bluray.c+0−1
@@ -27,7 +27,6 @@ · 26 unmodified lines
2727 */
2828
2929 #include <string.h>
30−#include <strings.h>
3130 #include <assert.h>
3231
3332 #include <libbluray/bluray.h>
stream/stream_dvdnav.c+0−1
@@ -24,7 +24,6 @@ · 23 unmodified lines
2424 #include <stdlib.h>
2525 #include <stdio.h>
2626 #include <string.h>
27−#include <strings.h>
2827 #include <errno.h>
2928 #include <assert.h>
3029
video/out/opengl/common.c+0−1
@@ -25,7 +25,6 @@ · 24 unmodified lines
2525 #include <stdlib.h>
2626 #include <stdio.h>
2727 #include <string.h>
28−#include <strings.h>
2928 #include <stdbool.h>
3029 #include <math.h>
3130 #include <assert.h>

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