diff --git a/webshell/tests/viewer/nsStubs.cpp b/webshell/tests/viewer/nsStubs.cpp index 4cb4f4b70d86..beab94f7fdc7 100644 --- a/webshell/tests/viewer/nsStubs.cpp +++ b/webshell/tests/viewer/nsStubs.cpp @@ -13,7 +13,7 @@ extern "C" XP_Bool ValidateDocData(MWContext *window_id) } /* dist/public/xp/xp_linebuf.h */ -int XP_ReBuffer (const char *net_buffer, int32 net_buffer_size, +extern "C" int XP_ReBuffer (const char *net_buffer, int32 net_buffer_size, uint32 desired_buffer_size, char **bufferP, uint32 *buffer_sizeP, uint32 *buffer_fpP, diff --git a/xpfe/xpviewer/src/nsUnixStubs.cpp b/xpfe/xpviewer/src/nsUnixStubs.cpp index a5cec7f8227a..8b53d80d6bdc 100644 --- a/xpfe/xpviewer/src/nsUnixStubs.cpp +++ b/xpfe/xpviewer/src/nsUnixStubs.cpp @@ -17,7 +17,7 @@ extern "C" XP_Bool ValidateDocData(MWContext *window_id) } /* dist/public/xp/xp_linebuf.h */ -int XP_ReBuffer (const char *net_buffer, int32 net_buffer_size, +extern "C" int XP_ReBuffer (const char *net_buffer, int32 net_buffer_size, uint32 desired_buffer_size, char **bufferP, uint32 *buffer_sizeP, uint32 *buffer_fpP,