Delete unused functions
* java/org/gnu/emacs/EmacsNative.java (dup, close): * src/android.c (dup, close): Delete functions no longer referenced.
This commit is contained in:
parent
41bfca0005
commit
3ff83246c8
2 changed files with 0 additions and 22 deletions
|
@ -36,12 +36,6 @@ public final class EmacsNative
|
|||
private static final String[] libraryDeps;
|
||||
|
||||
|
||||
/* Like `dup' in C. */
|
||||
public static native int dup (int fd);
|
||||
|
||||
/* Like `close' in C. */
|
||||
public static native int close (int fd);
|
||||
|
||||
/* Obtain the fingerprint of this build of Emacs. The fingerprint
|
||||
can be used to determine the dump file name. */
|
||||
public static native String getFingerprint ();
|
||||
|
|
|
@ -1307,22 +1307,6 @@ android_create_lib_link (void)
|
|||
#pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
||||
#endif
|
||||
|
||||
JNIEXPORT jint JNICALL
|
||||
NATIVE_NAME (dup) (JNIEnv *env, jobject object, jint fd)
|
||||
{
|
||||
JNI_STACK_ALIGNMENT_PROLOGUE;
|
||||
|
||||
return dup (fd);
|
||||
}
|
||||
|
||||
JNIEXPORT jint JNICALL
|
||||
NATIVE_NAME (close) (JNIEnv *env, jobject object, jint fd)
|
||||
{
|
||||
JNI_STACK_ALIGNMENT_PROLOGUE;
|
||||
|
||||
return close (fd);
|
||||
}
|
||||
|
||||
JNIEXPORT jstring JNICALL
|
||||
NATIVE_NAME (getFingerprint) (JNIEnv *env, jobject object)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue