1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

Remove a stale patch missed in the last commit

This commit is contained in:
Brendan Fabeny 2011-03-11 19:01:27 +00:00
parent e8463c0dbf
commit 0553e1193f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=270707

View File

@ -1,37 +0,0 @@
--- CPP/7zip/Common/CWrappers.cpp.orig 2010-04-28 22:07:56.000000000 -0400
+++ CPP/7zip/Common/CWrappers.cpp 2010-04-28 22:26:55.000000000 -0400
@@ -164,13 +164,15 @@
return 0;
}
-extern "C" static Byte Wrap_ReadByte(void *pp)
+extern "C" {
+static Byte Wrap_ReadByte(void *pp)
{
CByteInBufWrap *p = (CByteInBufWrap *)pp;
if (p->Cur != p->Lim)
return *p->Cur++;
return p->ReadByteFromNewBlock();
}
+}
CByteInBufWrap::CByteInBufWrap(): Buf(0)
{
@@ -210,7 +212,8 @@
return Res;
}
-extern "C" static void Wrap_WriteByte(void *pp, Byte b)
+extern "C" {
+static void Wrap_WriteByte(void *pp, Byte b)
{
CByteOutBufWrap *p = (CByteOutBufWrap *)pp;
Byte *dest = p->Cur;
@@ -219,6 +222,7 @@
if (dest == p->Lim)
p->Flush();
}
+}
CByteOutBufWrap::CByteOutBufWrap(): Buf(0)
{