summaryrefslogtreecommitdiffstats
path: root/Modules/signalmodule.c
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2008-10-02 19:56:01 (GMT)
committerChristian Heimes <christian@cheimes.de>2008-10-02 19:56:01 (GMT)
commit1a8501c64837368a6973ff3f9850b652888c281a (patch)
tree0884a11d8b60a9d6db6262ab91b5e70e00934368 /Modules/signalmodule.c
parentc472532c0cd056a23f4d50bd9a03d0fdea856a0a (diff)
downloadcpython-1a8501c64837368a6973ff3f9850b652888c281a.zip
cpython-1a8501c64837368a6973ff3f9850b652888c281a.tar.gz
cpython-1a8501c64837368a6973ff3f9850b652888c281a.tar.bz2
Merged revisions 66748 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r66748 | christian.heimes | 2008-10-02 21:47:50 +0200 (Thu, 02 Oct 2008) | 1 line Fixed a couple more C99 comments and one occurence of inline. ........ + another // comment in bytesobject
Diffstat (limited to 'Modules/signalmodule.c')
-rw-r--r--Modules/signalmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c
index 8860b39..7464eae 100644
--- a/Modules/signalmodule.c
+++ b/Modules/signalmodule.c
@@ -107,7 +107,7 @@ timeval_from_double(double d, struct timeval *tv)
tv->tv_usec = fmod(d, 1.0) * 1000000.0;
}
-static inline double
+Py_LOCAL_INLINE(double)
double_from_timeval(struct timeval *tv)
{
return tv->tv_sec + (double)(tv->tv_usec / 1000000.0);