From: Vadim Zeitlin Date: Sun, 26 Sep 2004 23:17:19 +0000 (+0000) Subject: made GetTempBuffer() static to avoid duplicate function errors during linking X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ae8e83cb399dd6290dac5256cfac13a42d32cf6b?ds=inline made GetTempBuffer() static to avoid duplicate function errors during linking git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/morefile/MoreFilesExtras.c b/src/mac/carbon/morefile/MoreFilesExtras.c index 9788e746da..f9bda4d855 100644 --- a/src/mac/carbon/morefile/MoreFilesExtras.c +++ b/src/mac/carbon/morefile/MoreFilesExtras.c @@ -494,7 +494,7 @@ pascal void TruncPString(StringPtr destination, /*****************************************************************************/ -pascal Ptr GetTempBuffer(long buffReqSize, +static pascal Ptr GetTempBuffer(long buffReqSize, long *buffActSize) { enum diff --git a/src/mac/carbon/morefilex/MoreFilesX.c b/src/mac/carbon/morefilex/MoreFilesX.c index d380e0d11c..36e7a06643 100644 --- a/src/mac/carbon/morefilex/MoreFilesX.c +++ b/src/mac/carbon/morefilex/MoreFilesX.c @@ -2610,7 +2610,7 @@ BadParameter: /*****************************************************************************/ -Ptr +static Ptr GetTempBuffer( ByteCount buffReqSize, ByteCount *buffActSize)