From: Fred Drake <fdrake@acm.org>
Date: Thu, 6 Sep 2001 16:17:24 +0000 (+0000)
Subject: Use the standard argument convention for main(), and conform to the
X-Git-Tag: v2.2a3~43
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=adaca02f9e549eb6edde6229b662eef2ab5849b5;p=python

Use the standard argument convention for main(), and conform to the
Python/C style guide.
---

diff --git a/Doc/ext/embedding.tex b/Doc/ext/embedding.tex
index 3afdd48269..90663dc346 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"