patch-dvi2tty_c 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. $OpenBSD: patch-dvi2tty_c,v 1.2 2010/05/11 06:36:59 espie Exp $
  2. --- dvi2tty.c.orig Thu Jan 23 11:28:30 2003
  3. +++ dvi2tty.c Tue May 11 07:06:36 2010
  4. @@ -180,7 +180,7 @@
  5. /* don't have terminals with Scand. nat. chars */
  6. #define WANTPAGER TRUE /* default: try to pipe through a pager (like */
  7. /* more) if stdout is tty and no -o switch */
  8. -#define DEFPAGER "/usr/bin/pg" /* CHANGE TO YOUR LOCAL PAGER */
  9. +#define DEFPAGER "/usr/bin/more" /* CHANGE TO YOUR LOCAL PAGER */
  10. /*------------------ end of customization constants ---------------------*/
  11. @@ -263,11 +263,6 @@ int getlong (long *, int *, char *);
  12. void usage (int);
  13. #else
  14. -# if defined(VMS)
  15. - main (int argc, char ** argv);
  16. -# else
  17. -void main (int argc, char ** argv);
  18. -# endif
  19. void setoption (char * optarg);
  20. void getargs (void);
  21. void getpages (int j, char * str);
  22. @@ -288,7 +283,7 @@ void usage (int uerr);
  23. #if defined(VMS)
  24. main(int argc, char **argv)
  25. #else
  26. -void main(int argc, char **argv)
  27. +int main(int argc, char **argv)
  28. #endif
  29. {