summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2008-06-13 07:48:19 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2008-06-13 07:48:19 (GMT)
commit1c95155bd153e4b9434a42ae434f6f6221c042a2 (patch)
tree764c5a8d7aeab57ecbfe915fe3978abe1cb6c506
parentff649b41e8f6b005fc08292760b29cefd135f1f2 (diff)
downloadcpython-1c95155bd153e4b9434a42ae434f6f6221c042a2.zip
cpython-1c95155bd153e4b9434a42ae434f6f6221c042a2.tar.gz
cpython-1c95155bd153e4b9434a42ae434f6f6221c042a2.tar.bz2
Make print_delta static.
-rw-r--r--Modules/_testcapimodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c
index 3dd2cdb..651fb20 100644
--- a/Modules/_testcapimodule.c
+++ b/Modules/_testcapimodule.c
@@ -822,7 +822,7 @@ test_with_docstring(PyObject *self)
#ifdef HAVE_GETTIMEOFDAY
/* Profiling of integer performance */
-void print_delta(int test, struct timeval *s, struct timeval *e)
+static void print_delta(int test, struct timeval *s, struct timeval *e)
{
e->tv_sec -= s->tv_sec;
e->tv_usec -= s->tv_usec;