diff options
author | NRK <nrk@disroot.org> | 2023-10-19 20:26:26 +0600 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2023-10-20 21:31:09 +0200 |
commit | d05ef7fdc4eb527a940a1ec7449e8c5bf60f5862 (patch) | |
tree | 49a5e8f5bd1c07d890c8944728ee4985b68686f7 /demux | |
parent | 450a69b1d6592d8bc45c28250b86ba4a8b1d8e54 (diff) | |
download | mpv-d05ef7fdc4eb527a940a1ec7449e8c5bf60f5862.tar.bz2 mpv-d05ef7fdc4eb527a940a1ec7449e8c5bf60f5862.tar.xz |
various: sort some standard headers
since i was going to fix the include order of stdatomic, might as well
sort the surrouding includes in accordance with the project's coding
style.
some headers can sometime require specific include order. standard
library headers usually don't. but mpv might "hack into" the standard
headers (e.g pthreads) so that complicates things a bit more.
hopefully nothing breaks. if it does, the style guide is to blame.
Diffstat (limited to 'demux')
-rw-r--r-- | demux/demux.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/demux/demux.c b/demux/demux.c index 2efbef270e..e28c45b079 100644 --- a/demux/demux.c +++ b/demux/demux.c @@ -15,15 +15,16 @@ * License along with mpv. If not, see <http://www.gnu.org/licenses/>. */ +#include <assert.h> #include <float.h> +#include <limits.h> +#include <pthread.h> +#include <stdatomic.h> +#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <assert.h> #include <unistd.h> -#include <limits.h> -#include <pthread.h> -#include <stdint.h> #include <math.h> @@ -42,7 +43,6 @@ #include "common/stats.h" #include "misc/charset_conv.h" #include "misc/thread_tools.h" -#include <stdatomic.h> #include "osdep/timer.h" #include "osdep/threads.h" |