From adaca02f9e549eb6edde6229b662eef2ab5849b5 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Thu, 6 Sep 2001 16:17:24 +0000 Subject: [PATCH] Use the standard argument convention for main(), and conform to the Python/C style guide. --- Doc/ext/embedding.tex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/ext/embedding.tex b/Doc/ext/embedding.tex index 3afdd48269b..90663dc3460 100644 --- a/Doc/ext/embedding.tex +++ b/Doc/ext/embedding.tex @@ -58,7 +58,8 @@ on a file. \begin{verbatim} #include -int main() +int +main(int argc, char *argv[]) { Py_Initialize(); PyRun_SimpleString("from time import time,ctime\n"