Commit Diff


commit - b28d6435f8ec7c8813daf30356f8ea19ab3521bc
commit + ece3b2e467730a16fc3430fc5b760d1ce5b94185
blob - 6b1c953dde793c3a774459be1c3711593d429be1
blob + 2d8fa48ea9964d3ac082f455dfa4a6fd48aef078
--- id3r.c
+++ id3r.c
@@ -1,9 +1,20 @@
+/* id3r is a small program to read only id3v1 tags. */
+/* neither the extended tag nor the id3v2 formats are supported */
+
 #include <stdlib.h>
 
 #include "id3v1.h"
 
 void usage(void);
 
+void
+usage(void)
+{
+    fputs("usage: id3r filename\n", stderr);
+
+    exit(EXIT_FAILURE);
+}
+
 int
 main(int argc, char *argv[])
 {
@@ -22,11 +33,3 @@ main(int argc, char *argv[])
 
     return EXIT_SUCCESS;
 }
-
-void
-usage(void)
-{
-    fputs("usage: id3r filename\n", stderr);
-
-    exit(EXIT_FAILURE);
-}