summaryrefslogtreecommitdiffstats
path: root/vm/Init.h
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-03-18 22:20:24 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-18 22:20:24 -0700
commit99409883d9c4c0ffb49b070ce307bb33a9dfe9f1 (patch)
tree47fa49e57ca43a07d37839ef5db35b705ec738fe /vm/Init.h
parent27e65e506369aa7eaca3e92a77631af63079ebd6 (diff)
downloadandroid_dalvik-99409883d9c4c0ffb49b070ce307bb33a9dfe9f1.tar.gz
android_dalvik-99409883d9c4c0ffb49b070ce307bb33a9dfe9f1.tar.bz2
android_dalvik-99409883d9c4c0ffb49b070ce307bb33a9dfe9f1.zip
auto import //branches/master/...@140412
Diffstat (limited to 'vm/Init.h')
-rw-r--r--vm/Init.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/vm/Init.h b/vm/Init.h
index 854933834..63051a25d 100644
--- a/vm/Init.h
+++ b/vm/Init.h
@@ -41,9 +41,14 @@ int dvmPrepForDexOpt(const char* bootClassPath, DexOptimizerMode dexOptMode,
DexClassVerifyMode verifyMode, int dexoptFlags);
/*
- * Unconditionally abort the entire VM. Try not to use this.
+ * Replacement for fprintf() when we want to send a message to the console.
+ * This defaults to fprintf(), but will use the JNI fprintf callback if
+ * one was provided.
*/
-int dvmFprintf(FILE* fp, const char* format, ...);
-void dvmAbort(void);
+int dvmFprintf(FILE* fp, const char* format, ...)
+#if defined(__GNUC__)
+ __attribute__ ((format(printf, 2, 3)))
+#endif
+ ;
#endif /*_DALVIK_INIT*/