011-remove-setupterm-definition.patch 454 B

123456789101112
  1. diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c
  2. index e478a57..eb297b4 100644
  3. --- a/Modules/_cursesmodule.c
  4. +++ b/Modules/_cursesmodule.c
  5. @@ -117,7 +117,6 @@ char *PyCursesVersion = "2.2";
  6. #defines many common symbols (such as "lines") which breaks the
  7. curses module in other ways. So the code will just specify
  8. explicit prototypes here. */
  9. -extern int setupterm(char *,int,int *);
  10. #ifdef __sgi
  11. #include <term.h>
  12. #endif