summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/ext/embedding.tex3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/ext/embedding.tex b/Doc/ext/embedding.tex
index 3afdd48..90663dc 100644
--- a/Doc/ext/embedding.tex
+++ b/Doc/ext/embedding.tex
@@ -58,7 +58,8 @@ on a file.
\begin{verbatim}
#include <Python.h>
-int main()
+int
+main(int argc, char *argv[])
{
Py_Initialize();
PyRun_SimpleString("from time import time,ctime\n"