aboutsummaryrefslogtreecommitdiff
path: root/compositor/DrmKmsPlan.h
diff options
context:
space:
mode:
authorRoman Stratiienko <r.stratiienko@gmail.com>2022-12-10 20:27:58 +0200
committerRoman Stratiienko <r.stratiienko@gmail.com>2022-12-10 20:37:34 +0200
commitbde95666cfd498fb5f39be79a7485c1b265db9df (patch)
tree2efc0c95fe8fa6f1aaf6cc6dce3185409f44ac43 /compositor/DrmKmsPlan.h
parent80566fe554f3d53675adaf32427650fe2c675750 (diff)
downloaddrm_hwcomposer-bde95666cfd498fb5f39be79a7485c1b265db9df.tar.gz
drm_hwcomposer: Use pragma once instead of include guards
Some of existing include guards were copy-pasted without modification, therefore have incorrect name. Switch to 'pragma once' in order to fix it and avoid such copy-paste issues in the future. Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
Diffstat (limited to 'compositor/DrmKmsPlan.h')
-rw-r--r--compositor/DrmKmsPlan.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/compositor/DrmKmsPlan.h b/compositor/DrmKmsPlan.h
index 91f636e..054cd93 100644
--- a/compositor/DrmKmsPlan.h
+++ b/compositor/DrmKmsPlan.h
@@ -14,8 +14,7 @@
* limitations under the License.
*/
-#ifndef ANDROID_DRM_KMS_PLAN_H_
-#define ANDROID_DRM_KMS_PLAN_H_
+#pragma once
#include <memory>
#include <vector>
@@ -41,4 +40,3 @@ struct DrmKmsPlan {
};
} // namespace android
-#endif