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

Commit 3bca6061 authored by Mark Salyzyn's avatar Mark Salyzyn
Browse files

libcutils: resolve warning in iosched_policy.c

(cherry picked from commit 407038cd)

Change-Id: I35b0d1eeba21cc1ed9645a5acfa180ed20797c56
parent 318bb726
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line

/* libs/cutils/iosched_policy.c
/*
**
** Copyright 2007, The Android Open Source Project
** Copyright 2007-2014, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License"); 
** you may not use this file except in compliance with the License. 
@@ -27,7 +26,11 @@

#include <cutils/iosched_policy.h>

#ifdef HAVE_ANDROID_OS
/* #include <linux/ioprio.h> */
extern int ioprio_set(int which, int who, int ioprio);
extern int ioprio_get(int which, int who);
#endif

enum {
    WHO_PROCESS = 1,