File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,9 +37,6 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
3737#include "ceval.h"
3838#include "modsupport.h"
3939
40- /* Should be in longobject.h */
41- extern stringobject * long_format PROTO ((object * , int ) );
42-
4340static object *
4441builtin_abs (self , v )
4542 object * self ;
@@ -228,7 +225,7 @@ builtin_hex(self, v)
228225 return newstringobject (buf );
229226 }
230227 if (is_longobject (v )) {
231- return ( object * ) long_format (v , 16 );
228+ return long_format (v , 16 );
232229 }
233230 }
234231 err_setstr (TypeError , "hex() requires int/long argument" );
@@ -399,7 +396,7 @@ builtin_oct(self, v)
399396 return newstringobject (buf );
400397 }
401398 if (is_longobject (v )) {
402- return ( object * ) long_format (v , 8 );
399+ return long_format (v , 8 );
403400 }
404401 }
405402 err_setstr (TypeError , "oct() requires int/long argument" );
You can’t perform that action at this time.
0 commit comments