aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorOrion Hodson <oth@google.com>2020-03-17 08:41:47 +0000
committerOrion Hodson <oth@google.com>2020-03-17 15:39:09 +0000
commit41b779b749dd64c6fd552e052a437967ea292009 (patch)
treebf2f18a7f47606c4072e772a79a6d3c09c375c04 /include
parent382fa1bfea11a0e2e30dd9140a65a77eb4e4936b (diff)
downloadlibnativehelper-41b779b749dd64c6fd552e052a437967ea292009.tar.gz
Retire jniStrError
It's used only sparingly in libcore to no obvious advantage. Bug: 151443957 Test: m Change-Id: I84679312bdb6980ee9b7c575e8982fcf4a548058
Diffstat (limited to 'include')
-rw-r--r--include/nativehelper/libnativehelper_api.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/nativehelper/libnativehelper_api.h b/include/nativehelper/libnativehelper_api.h
index b9e3570..a5368b2 100644
--- a/include/nativehelper/libnativehelper_api.h
+++ b/include/nativehelper/libnativehelper_api.h
@@ -86,14 +86,6 @@ int jniThrowRuntimeException(C_JNIEnv* env, const char* msg);
int jniThrowIOException(C_JNIEnv* env, int errnum);
/*
- * Return a pointer to a locale-dependent error string explaining errno
- * value 'errnum'. The returned pointer may or may not be equal to 'buf'.
- * This function is thread-safe (unlike strerror) and portable (unlike
- * strerror_r).
- */
-const char* jniStrError(int errnum, char* buf, size_t buflen);
-
-/*
* Returns a new java.io.FileDescriptor for the given int fd.
*/
jobject jniCreateFileDescriptor(C_JNIEnv* env, int fd);