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

Commit 3369fe9c authored by Elliott Hughes's avatar Elliott Hughes
Browse files

Don't duplicate uapi ioprio constants.

This code is only used in init and vold, so I suspect all the
conditional compilation could be moved into the .bp file instead, but
I'm just trying to clean up duplication today...

Test: treehugger
Change-Id: I97013f5de41e109a0cc377400c396145aed569db
parent d741c232
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -24,8 +24,7 @@
#include <unistd.h>

#if defined(__ANDROID__)
#define IOPRIO_WHO_PROCESS (1)
#define IOPRIO_CLASS_SHIFT (13)
#include <linux/ioprio.h>
#include <sys/syscall.h>
#define __android_unused
#else