]> granicus.if.org Git - python/commitdiff
Make print_delta static.
authorMartin v. Löwis <martin@v.loewis.de>
Fri, 13 Jun 2008 07:48:19 +0000 (07:48 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Fri, 13 Jun 2008 07:48:19 +0000 (07:48 +0000)
Modules/_testcapimodule.c

index 3dd2cdbf515fdd30969242baa0e8fb000d056968..651fb20663979d5c7dfb6a795ea739ca7a12d2a3 100644 (file)
@@ -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;