Commit Diff


commit - 39b94429580f9d69f45b913fab18637230184824
commit + e80c10aea9d3529f3b546eeaf7c18f5269455806
blob - fd63e5112a67897f62832409cbe0e205e29644b9
blob + 885e5364c555c40b54c522abc3b376d19b8cece4
--- id3v1.c
+++ id3v1.c
@@ -1,9 +1,8 @@
-#include <inttypes.h>
 #include <string.h>
 
 #include "id3v1.h"
 
-int
+uint8_t
 checkid3v1(FILE *f)
 {
     /* a buffer for the first 3 bytes of the id3v1 tag + terminating NULL */
blob - a7b60dbd824ddff0e9f1e08702a8ba98d6003d67
blob + f2cba2002b1dee4bd60d66175c10569aebcdef2c
--- id3v1.h
+++ id3v1.h
@@ -1,9 +1,10 @@
 #ifndef ID3V1_H
 #define ID3V1_H
 
+#include <inttypes.h>
 #include <stdio.h>
 
-int checkid3v1(FILE *);
+uint8_t checkid3v1(FILE *);
 void printid3v1(FILE *);
 
 #endif /* ID3V1_H */