diff options
author | Josh Gao <jmgao@google.com> | 2016-03-04 15:15:56 -0800 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2016-03-04 15:15:56 -0800 |
commit | f0d3b4fc11b35ce295bd698555579ed242473e69 (patch) | |
tree | 2164874d6cf2863e85f83654f543103447d84fd9 /adb/sysdeps.h | |
parent | afa76a302803fb9f25478c177486c218d713bc19 (diff) | |
download | system_core-f0d3b4fc11b35ce295bd698555579ed242473e69.tar.gz system_core-f0d3b4fc11b35ce295bd698555579ed242473e69.tar.bz2 system_core-f0d3b4fc11b35ce295bd698555579ed242473e69.zip |
adb: make ScopedFd universally accessible and useful.
Change-Id: I707ffbd10958e7449b4c95dff48638480c746939
Diffstat (limited to 'adb/sysdeps.h')
-rw-r--r-- | adb/sysdeps.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/adb/sysdeps.h b/adb/sysdeps.h index ce0f28932..81d201e65 100644 --- a/adb/sysdeps.h +++ b/adb/sysdeps.h @@ -576,8 +576,7 @@ static __inline__ int adb_shutdown(int fd, int direction) // Closes a file descriptor that came from adb_open() or adb_open_mode(), but // not designed to take a file descriptor from unix_open(). See the comments // for adb_open() for more info. -static __inline__ int adb_close(int fd) -{ +__inline__ int adb_close(int fd) { return close(fd); } #undef close |