aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLRN <lrn1986@gmail.com>2015-04-21 15:52:30 +0000
committerLRN <lrn1986@gmail.com>2015-04-21 15:52:30 +0000
commitaeb6f223edaf80cac6241b64f917353f33eb38f4 (patch)
tree70f7cab5db96075625bbc517f55d92ad037ffbdb
parentdf8acc0974e1345e4f0c04e8997001d980b68969 (diff)
downloadlibextractor-aeb6f223edaf80cac6241b64f917353f33eb38f4.tar.gz
libextractor-aeb6f223edaf80cac6241b64f917353f33eb38f4.zip
Do use Tidy calling convention (on W32 it is not cdecl)
-rw-r--r--src/plugins/html_extractor.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/html_extractor.c b/src/plugins/html_extractor.c
index 4624a92..04705d8 100644
--- a/src/plugins/html_extractor.c
+++ b/src/plugins/html_extractor.c
@@ -105,7 +105,7 @@ tag_to_type (const char *tag)
105 * @param mssg message 105 * @param mssg message
106 * @return FALSE (no output) 106 * @return FALSE (no output)
107 */ 107 */
108static Bool 108static Bool TIDY_CALL
109report_cb (TidyDoc doc, 109report_cb (TidyDoc doc,
110 TidyReportLevel lvl, 110 TidyReportLevel lvl,
111 uint line, 111 uint line,
@@ -122,7 +122,7 @@ report_cb (TidyDoc doc,
122 * @param sourceData our 'struct EXTRACTOR_ExtractContext' 122 * @param sourceData our 'struct EXTRACTOR_ExtractContext'
123 * @return next byte of input, EndOfStream on errors and EOF 123 * @return next byte of input, EndOfStream on errors and EOF
124 */ 124 */
125static int 125static int TIDY_CALL
126get_byte_cb (void *sourceData) 126get_byte_cb (void *sourceData)
127{ 127{
128 struct EXTRACTOR_ExtractContext *ec = sourceData; 128 struct EXTRACTOR_ExtractContext *ec = sourceData;
@@ -142,7 +142,7 @@ get_byte_cb (void *sourceData)
142 * @param sourceData our 'struct EXTRACTOR_ExtractContext' 142 * @param sourceData our 'struct EXTRACTOR_ExtractContext'
143 * @param bt byte to unget (ignored) 143 * @param bt byte to unget (ignored)
144 */ 144 */
145static void 145static void TIDY_CALL
146unget_byte_cb (void *sourceData, byte bt) 146unget_byte_cb (void *sourceData, byte bt)
147{ 147{
148 struct EXTRACTOR_ExtractContext *ec = sourceData; 148 struct EXTRACTOR_ExtractContext *ec = sourceData;
@@ -157,7 +157,7 @@ unget_byte_cb (void *sourceData, byte bt)
157 * @param sourceData our 'struct EXTRACTOR_ExtractContext' 157 * @param sourceData our 'struct EXTRACTOR_ExtractContext'
158 * @return true if we are at the EOF 158 * @return true if we are at the EOF
159 */ 159 */
160static Bool 160static Bool TIDY_CALL
161eof_cb (void *sourceData) 161eof_cb (void *sourceData)
162{ 162{
163 struct EXTRACTOR_ExtractContext *ec = sourceData; 163 struct EXTRACTOR_ExtractContext *ec = sourceData;