C++ doesn't allow K&R int default.

This commit is contained in:
joerg 2012-01-20 17:08:40 +00:00
parent 3fecd8b8be
commit 1de48c01ae
2 changed files with 14 additions and 1 deletions

View file

@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.10 2009/10/22 18:11:54 adam Exp $
$NetBSD: distinfo,v 1.11 2012/01/20 17:08:40 joerg Exp $
SHA1 (libgnomeuimm-2.28.0.tar.bz2) = 935c206d5d13df371476b3c1075219e0bfdbc91b
RMD160 (libgnomeuimm-2.28.0.tar.bz2) = 9ad7eb433f4ddd112a16207f2a3183c0ed1a844d
Size (libgnomeuimm-2.28.0.tar.bz2) = 382428 bytes
SHA1 (patch-examples_iconlist_iconlist.cc) = 0bb90a995091869d984062da019b80b790eb519f

View file

@ -0,0 +1,12 @@
$NetBSD: patch-examples_iconlist_iconlist.cc,v 1.1 2012/01/20 17:08:40 joerg Exp $
--- examples/iconlist/iconlist.cc.orig 2012-01-18 23:41:46.000000000 +0000
+++ examples/iconlist/iconlist.cc
@@ -58,6 +58,7 @@ IconWindow::IconWindow ()
show_all_children ();
}
+int
main (int argc, char *argv[])
{
Gnome::Main kit ("Iconlist", "0.0.0", Gnome::UI::module_info_get(), argc, argv);