patch-pixmap_c 322 B

1234567891011121314
  1. $OpenBSD: patch-pixmap_c,v 1.1 2017/04/18 21:13:03 espie Exp $
  2. --- pixmap.c.orig Tue Apr 18 07:59:36 2017
  3. +++ pixmap.c Tue Apr 18 09:43:55 2017
  4. @@ -395,6 +395,9 @@ pixmap_index (int x, int y)
  5. {
  6. return y*pixmap_width + x;
  7. }
  8. +
  9. +/* also mark it as extern for C99 */
  10. +extern int pixmap_index(int, int);
  11. #endif
  12. int