Extract parse_size function from ramdisk command.

Change-Id: If7dd36321e1ed2feb20b4c76ddaf303bc997d8b7
Reviewed-on: https://review.haiku-os.org/c/1018
Reviewed-by: Jérôme Duval <[email protected]>
Reviewed-by: Axel Dörfler <[email protected]>
This commit is contained in:
Adrien Destugues
2019-02-08 07:19:26 +00:00
committed by Axel Dörfler
parent 0ca56bdecd
commit 7232789211
3 changed files with 43 additions and 24 deletions
+2
View File
@@ -12,12 +12,14 @@ namespace BPrivate {
const char* string_for_size(double size, char* string, size_t stringSize);
int64 parse_size(const char* sizeString);
} // namespace BPrivate
using BPrivate::string_for_size;
using BPrivate::parse_size;
#endif // STRING_FOR_SIZE_H