aboutsummaryrefslogtreecommitdiffstats
path: root/mkfs/f2fs_format_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'mkfs/f2fs_format_utils.h')
-rw-r--r--mkfs/f2fs_format_utils.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/mkfs/f2fs_format_utils.h b/mkfs/f2fs_format_utils.h
index 3ba0fd6..9f531ee 100644
--- a/mkfs/f2fs_format_utils.h
+++ b/mkfs/f2fs_format_utils.h
@@ -4,16 +4,17 @@
* Copyright (c) 2014 Samsung Electronics Co., Ltd.
* http://www.samsung.com/
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
+ * Dual licensed under the GPL or LGPL version 2 licenses.
*/
#define _LARGEFILE64_SOURCE
+#ifndef ANDROID
+#include "f2fs_fs.h"
+#else
#include "include/f2fs_fs.h"
-#include "include/f2fs_version.h"
+#endif
extern struct f2fs_configuration config;
-void f2fs_finalize_device();
-int f2fs_trim_device();
+int f2fs_trim_device(void);
+int f2fs_format_device(void);