Mercurial > ~astiob > upreckon > hgweb
changeset 254:393b4689ac2f
Made is_int declarations in _unix non-static
This removes some compiler warnings.
author | Oleg Oshmyan <chortos@inbox.lv> |
---|---|
date | Fri, 14 Mar 2014 15:31:40 +0000 |
parents | d06e57b182a9 |
children | d32b14e5a43b |
files | upreckon/_unixmodule.cpp |
diffstat | 1 files changed, 12 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/upreckon/_unixmodule.cpp Fri Mar 14 15:25:06 2014 +0000 +++ b/upreckon/_unixmodule.cpp Fri Mar 14 15:31:40 2014 +0000 @@ -693,20 +693,20 @@ #ifdef __cplusplus typedef struct { char a[2]; } two_chars; -static char is_int(char); -static char is_int(signed char); -static char is_int(unsigned char); -static char is_int(short); -static char is_int(unsigned short); -static char is_int(int); -static char is_int(unsigned); -static char is_int(long); -static char is_int(unsigned long); +char is_int(char); +char is_int(signed char); +char is_int(unsigned char); +char is_int(short); +char is_int(unsigned short); +char is_int(int); +char is_int(unsigned); +char is_int(long); +char is_int(unsigned long); #ifdef HAVE_LONG_LONG -static char is_int(long long); -static char is_int(unsigned long long); +char is_int(long long); +char is_int(unsigned long long); #endif -static two_chars is_int(...); +two_chars is_int(...); #endif static inline PyObject *timeval_to_obj(const _PyTime_timeval *ptv)