diff options
Diffstat (limited to 'drm/DrmUnique.h')
-rw-r--r-- | drm/DrmUnique.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drm/DrmUnique.h b/drm/DrmUnique.h index 282528b..2be1eb9 100644 --- a/drm/DrmUnique.h +++ b/drm/DrmUnique.h @@ -14,8 +14,7 @@ * limitations under the License. */ -#ifndef DRM_UNIQUE_H_ -#define DRM_UNIQUE_H_ +#pragma once #include <xf86drmMode.h> @@ -83,5 +82,3 @@ auto inline MakeDrmModeResUnique(int fd) { return DrmModeResUnique(drmModeGetResources(fd), [](drmModeRes *it) { drmModeFreeResources(it); }); } - -#endif |