Skip to content

Commit 8b5b5ea

Browse files
committed
fixes for monolithic build mode.
1 parent dea9591 commit 8b5b5ea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/docs/manual/libsigc_manual.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ void warn_people()
112112
std::cout << "There are aliens in the carpark!" << std::endl;
113113
}
114114

115-
int main()
115+
int main(void)
116116
{
117117
AlienDetector mydetector;
118118
mydetector.signal_detected.connect( sigc::ptr_fun(warn_people) );
@@ -165,7 +165,7 @@ private:
165165
<para>You could rewrite your code as follows:</para>
166166

167167
<programlisting>
168-
int main()
168+
int main(void)
169169
{
170170
AlienDetector mydetector;
171171
AlienAlerter myalerter("localhost"); // added
@@ -242,7 +242,7 @@ void warn_people(std::string where)
242242
std::cout &lt;&lt; "There are aliens in " &lt;&lt; where &lt;&lt; "!" &lt;&lt; std::endl;
243243
}
244244

245-
int main()
245+
int main(void)
246246
{
247247
AlienDetector mydetector;
248248
mydetector.signal_detected.connect( sigc::ptr_fun(warn_people) );

0 commit comments

Comments
 (0)