Simplify async utils by removing extra LoopIo parameter.
This patch removes the LoopIo parameter from asyncReader_run() by
storing the initial pointer passed to asyncReader_init() inside the
object itself.
Same treatment is performed for:
- AsyncReader
- AsyncWriter
- AsyncLineReader
- AsyncConnector
- AsyncConsoleConnect
Change-Id: Ic74b817e4c326230ca1d38b3a5d8c4790c4f90c1
diff --git a/android/async-console.h b/android/async-console.h
index 6779ae2..2d8519a 100644
--- a/android/async-console.h
+++ b/android/async-console.h
@@ -56,8 +56,7 @@
* Not enough data was exchanged, call this function later.
*/
AsyncStatus
-asyncConsoleConnector_run(AsyncConsoleConnector* acc,
- LoopIo* io);
+asyncConsoleConnector_run(AsyncConsoleConnector* acc);
#endif /* ANDROID_ASYNC_CONSOLE_H */