Changeset 1183 in kBuild for trunk/src/kmk/kmkbuiltin/md5sum.c
- Timestamp:
- Oct 5, 2007 10:16:46 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/kmkbuiltin/md5sum.c
r1125 r1183 65 65 ); 66 66 return 1; 67 }68 69 70 /**71 * Prints the version string.72 * @returns 073 */74 static int version(void)75 {76 #ifdef kmk_builtin_md5sum77 fprintf(stdout, "kmk_md5sum (kBuild) %d.%d.%d\n"78 "Copyright (c) 2007 knut st. osmundsen\n",79 KBUILD_VERSION_MAJOR, KBUILD_VERSION_MINOR, KBUILD_VERSION_PATCH);80 #else81 fprintf(stdout, "kmk_builtin_md5sum (kBuild) %d.%d.%d\n"82 "Copyright (c) 2007 knut st. osmundsen\n",83 KBUILD_VERSION_MAJOR, KBUILD_VERSION_MINOR, KBUILD_VERSION_PATCH);84 #endif85 return 0;86 67 } 87 68 … … 713 694 714 695 case 'v': 715 return version();696 return kbuild_version(argv[0]); 716 697 717 698 /* … … 761 742 } 762 743 763
Note:
See TracChangeset
for help on using the changeset viewer.