aboutsummaryrefslogtreecommitdiff
path: root/backend/drm/util.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-02-12 21:29:23 +0100
committeremersion <contact@emersion.fr>2018-02-12 21:29:23 +0100
commitc2e147401048aa53aebd52f1851b1da8c91043a3 (patch)
tree8ea1a2b6a0414fd7904824ffac330cd4e1e96ca2 /backend/drm/util.c
parent36ead80cd19b4c1773b894750ecf7fcec63f9b9b (diff)
Reformat all #include directives
Diffstat (limited to 'backend/drm/util.c')
-rw-r--r--backend/drm/util.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/backend/drm/util.c b/backend/drm/util.c
index 37d99aa8..41ba47d1 100644
--- a/backend/drm/util.c
+++ b/backend/drm/util.c
@@ -1,10 +1,10 @@
-#include <stdio.h>
-#include <string.h>
-#include <drm.h>
#include <drm_mode.h>
+#include <drm.h>
#include <gbm.h>
-#include "backend/drm/util.h"
+#include <stdio.h>
+#include <string.h>
#include <wlr/util/log.h>
+#include "backend/drm/util.h"
int32_t calculate_refresh_rate(drmModeModeInfo *mode) {
int32_t refresh = (mode->clock * 1000000LL / mode->htotal +