Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f824fbb0 authored by Prabir Pradhan's avatar Prabir Pradhan Committed by Android (Google) Code Review
Browse files

Merge "libinput: Use #pragma once instead of explicit define guards"

parents 0d169d90 c08b0dbd
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -14,8 +14,7 @@
 * limitations under the License.
 */

#ifndef _LIBINPUT_DISPLAY_VIEWPORT_H
#define _LIBINPUT_DISPLAY_VIEWPORT_H
#pragma once

#include <android-base/stringprintf.h>
#include <ftl/enum.h>
@@ -144,5 +143,3 @@ struct DisplayViewport {
};

} // namespace android

#endif // _LIBINPUT_DISPLAY_VIEWPORT_H
+1 −4
Original line number Diff line number Diff line
@@ -14,8 +14,7 @@
 * limitations under the License.
 */

#ifndef _LIBINPUT_INPUT_H
#define _LIBINPUT_INPUT_H
#pragma once

#pragma GCC system_header

@@ -1104,5 +1103,3 @@ enum class PointerIconStyle : int32_t {
};

} // namespace android

#endif // _LIBINPUT_INPUT_H
+1 −4
Original line number Diff line number Diff line
@@ -14,8 +14,7 @@
 * limitations under the License.
 */

#ifndef _LIBINPUT_INPUT_DEVICE_H
#define _LIBINPUT_INPUT_DEVICE_H
#pragma once

#include <android/sensor.h>
#include <input/Input.h>
@@ -341,5 +340,3 @@ enum ReservedInputDeviceId : int32_t {
};

} // namespace android

#endif // _LIBINPUT_INPUT_DEVICE_H
+1 −3
Original line number Diff line number Diff line
@@ -14,8 +14,7 @@
 * limitations under the License.
 */

#ifndef _LIBINPUT_INPUT_EVENT_LABELS_H
#define _LIBINPUT_INPUT_EVENT_LABELS_H
#pragma once

#include <input/Input.h>
#include <android/keycodes.h>
@@ -68,4 +67,3 @@ private:
};

} // namespace android
#endif // _LIBINPUT_INPUT_EVENT_LABELS_H
+1 −4
Original line number Diff line number Diff line
@@ -14,8 +14,7 @@
 * limitations under the License.
 */

#ifndef _LIBINPUT_INPUT_TRANSPORT_H
#define _LIBINPUT_INPUT_TRANSPORT_H
#pragma once

#pragma GCC system_header

@@ -674,5 +673,3 @@ private:
};

} // namespace android

#endif // _LIBINPUT_INPUT_TRANSPORT_H
Loading