Fix C++ syntax

This commit is contained in:
joerg 2011-08-20 15:33:37 +00:00
parent dc2758b10a
commit b079469e18
3 changed files with 29 additions and 1 deletions

View file

@ -1,6 +1,8 @@
$NetBSD: distinfo,v 1.4 2007/10/10 22:02:20 rillig Exp $ $NetBSD: distinfo,v 1.5 2011/08/20 15:33:37 joerg Exp $
SHA1 (GUIlib-1.1.0.tar.gz) = 4ba285dc9902c6204663a935ee3d8600cc921cc9 SHA1 (GUIlib-1.1.0.tar.gz) = 4ba285dc9902c6204663a935ee3d8600cc921cc9
RMD160 (GUIlib-1.1.0.tar.gz) = aeed496d4d92c0f3a28531fb37def7b69c78109a RMD160 (GUIlib-1.1.0.tar.gz) = aeed496d4d92c0f3a28531fb37def7b69c78109a
Size (GUIlib-1.1.0.tar.gz) = 180318 bytes Size (GUIlib-1.1.0.tar.gz) = 180318 bytes
SHA1 (patch-aa) = d83443dfb9509bc9e63c100fd64b61294eb87f03 SHA1 (patch-aa) = d83443dfb9509bc9e63c100fd64b61294eb87f03
SHA1 (patch-hello.cpp) = 08c5e3387459465c000ae273b4571fc9867a5126
SHA1 (patch-keyboard.cpp) = 450690b3e915636b10609a52eddd320288bb371e

View file

@ -0,0 +1,13 @@
$NetBSD: patch-hello.cpp,v 1.1 2011/08/20 15:33:37 joerg Exp $
--- hello.cpp.orig 2000-04-06 04:48:53.000000000 +0000
+++ hello.cpp
@@ -78,7 +78,7 @@ void Output(SDL_Surface *screen, const c
}
}
-main(int argc, char *argv[])
+int main(int argc, char *argv[])
{
SDL_Surface *screen;
int x, y, i;

View file

@ -0,0 +1,13 @@
$NetBSD: patch-keyboard.cpp,v 1.1 2011/08/20 15:33:37 joerg Exp $
--- keyboard.cpp.orig 2011-08-20 13:29:08.000000000 +0000
+++ keyboard.cpp
@@ -72,7 +72,7 @@ protected:
}
};
-main(int argc, char *argv[])
+int main(int argc, char *argv[])
{
SDL_Surface *screen;
GUI_TermWin *output;