aboutsummaryrefslogtreecommitdiffstats
path: root/android/async-console.h
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@android.com>2011-03-17 14:57:51 +0100
committerDavid 'Digit' Turner <digit@android.com>2011-04-11 18:08:11 +0200
commitf9e333ade2529f257ced6bcff8e5824cb07eacf9 (patch)
treec3ea65717a284ae744764b4ecf8c5b745ea3415d /android/async-console.h
parent2086c639648ccecc9081705a279249ce939d818b (diff)
downloadexternal_qemu-f9e333ade2529f257ced6bcff8e5824cb07eacf9.zip
external_qemu-f9e333ade2529f257ced6bcff8e5824cb07eacf9.tar.gz
external_qemu-f9e333ade2529f257ced6bcff8e5824cb07eacf9.tar.bz2
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
Diffstat (limited to 'android/async-console.h')
-rw-r--r--android/async-console.h3
1 files changed, 1 insertions, 2 deletions
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 @@ asyncConsoleConnector_connect(AsyncConsoleConnector* acc,
* 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 */