archrelease: copy trunk to extra-x86_64
[arch-packages.git] / id3lib / repos / extra-x86_64 / 15-fix-headers-of-main-functions.patch
blob48e01d145f9ab535a86d5783d93af7d4ceceb053
1 This patch fixes some function headers in demo code used during 'make check'
2 --- a/examples/demo_info.cpp
3 +++ b/examples/demo_info.cpp
4 @@ -309,7 +309,7 @@
6 #define DEBUG
8 -int main( unsigned int argc, char * const argv[])
9 +int main(int argc, char * const argv[])
11 ID3D_INIT_DOUT();
13 --- a/examples/demo_convert.cpp
14 +++ b/examples/demo_convert.cpp
15 @@ -84,7 +84,7 @@
19 -int main( unsigned int argc, char * const argv[])
20 +int main(int argc, char * const argv[])
22 flags_t ulFlag = ID3TT_ALL;
23 gengetopt_args_info args;
24 --- a/examples/demo_copy.cpp
25 +++ b/examples/demo_copy.cpp
26 @@ -81,7 +81,7 @@
30 -int main( unsigned int argc, char * const argv[])
31 +int main(int argc, char * const argv[])
33 int ulFlag = ID3TT_ID3;
34 ID3D_INIT_DOUT();
35 --- a/examples/demo_tag.cpp
36 +++ b/examples/demo_tag.cpp
37 @@ -46,7 +46,7 @@
38 os << "v2";
41 -int main( unsigned int argc, char * const argv[])
42 +int main(int argc, char * const argv[])
44 int ulFlag = ID3TT_ID3;
45 ID3D_INIT_DOUT();