pidgin/purple-plugin-pack
Clone
Summary
Browse
Changes
Graph
Re-add purple2 compatibility with #if PURPLE_VERSION_CHECK(3,0,0) blocks
2017-04-06, dx
1a752dbdf56c
Re-add purple2 compatibility with #if PURPLE_VERSION_CHECK(3,0,0) blocks
Based on previous commits between 2.7.0 and now, this is sorta like reverting
those changes partially.
/*************************************************************************
* Recursion test module
* by Martijn van Oosterhout <kleptog@svana.org> (C) April 2006
* Licenced under the GNU General Public Licence version 2.
*
* Code to test the recursion module.
*************************************************************************/
#include
<stdio.h>
#include
"recurse.h"
int
process_entry
(
char
*
str
,
void
*
ptr
)
{
printf
(
"%s
\n
"
,
str
);
return
0
;
}
int
main
()
{
recurse_directory
(
"/usr/share/zoneinfo"
,
process_entry
,
main
);
return
0
;
}