diff options
author | Kristian Monsen | 2013-11-01 17:44:18 -0500 |
---|---|---|
committer | Kristian Monsen | 2013-11-01 19:22:14 -0500 |
commit | 52aa2466ca5832d75ea8fddafa1a4eef360d54ee (patch) | |
tree | 9901a5074209c093359600be429cf7b9afd58529 /liblog/fake_log_device.h | |
parent | f1e072780eee546a18c5dda9f328c5f1dfcc0127 (diff) | |
download | platform-system-core-52aa2466ca5832d75ea8fddafa1a4eef360d54ee.tar.gz platform-system-core-52aa2466ca5832d75ea8fddafa1a4eef360d54ee.tar.xz platform-system-core-52aa2466ca5832d75ea8fddafa1a4eef360d54ee.zip |
Fixes some warnings
- Implicit decleared function
- Unused variable
Change-Id: If60ad6f25aabf3b8fb68a2c9d8d75c7bda95c74a
Diffstat (limited to 'liblog/fake_log_device.h')
-rw-r--r-- | liblog/fake_log_device.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/liblog/fake_log_device.h b/liblog/fake_log_device.h new file mode 100644 index 000000000..9d168cd2d --- /dev/null +++ b/liblog/fake_log_device.h | |||
@@ -0,0 +1,28 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2013 The Android Open Source Project | ||
3 | * | ||
4 | * Licensed under the Apache License, Version 2.0 (the "License"); | ||
5 | * you may not use this file except in compliance with the License. | ||
6 | * You may obtain a copy of the License at | ||
7 | * | ||
8 | * http://www.apache.org/licenses/LICENSE-2.0 | ||
9 | * | ||
10 | * Unless required by applicable law or agreed to in writing, software | ||
11 | * distributed under the License is distributed on an "AS IS" BASIS, | ||
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
13 | * See the License for the specific language governing permissions and | ||
14 | * limitations under the License. | ||
15 | */ | ||
16 | |||
17 | #ifndef _LIBLOG_FAKE_LOG_DEVICE_H | ||
18 | #define _LIBLOG_FAKE_LOG_DEVICE_H | ||
19 | |||
20 | #include <sys/types.h> | ||
21 | |||
22 | struct iovec; | ||
23 | |||
24 | int fakeLogOpen(const char *pathName, int flags); | ||
25 | int fakeLogClose(int fd); | ||
26 | ssize_t fakeLogWritev(int fd, const struct iovec* vector, int count); | ||
27 | |||
28 | #endif // _LIBLOG_FAKE_LOG_DEVICE_H | ||