[easytag] Add static to is_tag_ape2long()
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag] Add static to is_tag_ape2long()
- Date: Fri, 5 Feb 2016 21:38:04 +0000 (UTC)
commit 257e13b1b3309919e73cf6f3014a77f5f82e87f8
Author: David King <amigadave amigadave com>
Date: Thu Jan 28 21:51:44 2016 +0100
Add static to is_tag_ape2long()
src/tags/libapetag/is_tag.c | 26 +++++++++++---------------
1 files changed, 11 insertions(+), 15 deletions(-)
---
diff --git a/src/tags/libapetag/is_tag.c b/src/tags/libapetag/is_tag.c
index 7ba9bb4..452c77c 100644
--- a/src/tags/libapetag/is_tag.c
+++ b/src/tags/libapetag/is_tag.c
@@ -27,14 +27,22 @@
#include <assert.h>
#include "is_tag.h"
-unsigned long
-is_tag_ape2long (unsigned char *p);
-
/*
PL: czy dany plik ma taga odpowiednio id3v1, id3v2 i ape ???
PL: nie zmienia pozycji w pliku !!!
*/
+static unsigned long
+is_tag_ape2long (unsigned char *p)
+{
+
+ return (((unsigned long) p[0] << 0) |
+ ((unsigned long) p[1] << 8) |
+ ((unsigned long) p[2] << 16) |
+ ((unsigned long) p[3] << 24) );
+
+}
+
/**
return size of all id3v1 tags (some bugy tagers add this again and
again tag) 0 no tag at all
@@ -174,15 +182,3 @@ is_ape (FILE * fp)
) /* footer size = 32 */
);
}
-
-
-unsigned long
-is_tag_ape2long (unsigned char *p)
-{
-
- return (((unsigned long) p[0] << 0) |
- ((unsigned long) p[1] << 8) |
- ((unsigned long) p[2] << 16) |
- ((unsigned long) p[3] << 24) );
-
-}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]