X-Git-Url: http://git.sven.stormbind.net/?p=sven%2Fexfat-utils.git;a=blobdiff_plain;f=mkfs%2Fmain.c;h=2ee6da6ac2b27890d647108302c6c91107f25ed8;hp=61d9a6dab29d4d51862266450e11a69caa18a3cd;hb=9420cfdeee25e4d97e7fc6f7cbb286e5089caccb;hpb=9c08378bfbf14696495ca8e3507d7f46daba8a3f diff --git a/mkfs/main.c b/mkfs/main.c index 61d9a6d..2ee6da6 100644 --- a/mkfs/main.c +++ b/mkfs/main.c @@ -3,7 +3,7 @@ Creates exFAT file system. Free exFAT implementation. - Copyright (C) 2011-2014 Andrew Nayenko + Copyright (C) 2011-2015 Andrew Nayenko This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -20,6 +20,13 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#include "mkexfat.h" +#include "vbr.h" +#include "fat.h" +#include "cbm.h" +#include "uct.h" +#include "rootdir.h" +#include #include #include #include @@ -27,13 +34,6 @@ #include #include #include -#include -#include "mkexfat.h" -#include "vbr.h" -#include "fat.h" -#include "cbm.h" -#include "uct.h" -#include "rootdir.h" const struct fs_object* objects[] = { @@ -204,8 +204,7 @@ int main(int argc, char* argv[]) uint64_t first_sector = 0; struct exfat_dev* dev; - printf("mkexfatfs %u.%u.%u\n", - EXFAT_VERSION_MAJOR, EXFAT_VERSION_MINOR, EXFAT_VERSION_PATCH); + printf("mkexfatfs %s\n", VERSION); while ((opt = getopt(argc, argv, "i:n:p:s:V")) != -1) { @@ -229,7 +228,7 @@ int main(int argc, char* argv[]) } break; case 'V': - puts("Copyright (C) 2011-2014 Andrew Nayenko"); + puts("Copyright (C) 2011-2015 Andrew Nayenko"); return 0; default: usage(argv[0]);