From 234f942aefb779efa6cfb7225e21d16a3f7e80f7 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 17 Jun 1993 12:35:49 +0000 Subject: * Added gmtime/localtime/mktime and SYSV timezone globals to timemodule.c. Added $(SYSDEF) to its build rule in Makefile. * cgensupport.[ch], modsupport.[ch]: removed some old stuff. Also changed files that still used it... And made several things static that weren't but should have been... And other minor cleanups... * listobject.[ch]: add external interfaces {set,get}listslice * socketmodule.c: fix bugs in new send() argument parsing. * sunaudiodevmodule.c: added flush() and close(). --- Python/cgensupport.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'Python/cgensupport.c') diff --git a/Python/cgensupport.c b/Python/cgensupport.c index 5dcac867c7..87fcfabe68 100644 --- a/Python/cgensupport.c +++ b/Python/cgensupport.c @@ -28,17 +28,6 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #include "cgensupport.h" -/* Functions to construct return values */ - -object * -mknewcharobject(c) - int c; -{ - char ch[1]; - ch[0] = c; - return newsizedstringobject(ch, 1); -} - /* Functions to extract arguments. These needs to know the total number of arguments supplied, since the argument list is a tuple only of there is more than -- cgit v1.2.1