patch-Wnn_jutil_dtoa_c 485 B

1234567891011121314151617181920212223
  1. $OpenBSD: patch-Wnn_jutil_dtoa_c,v 1.2 2017/04/29 14:31:40 espie Exp $
  2. --- Wnn/jutil/dtoa.c.orig
  3. +++ Wnn/jutil/dtoa.c
  4. @@ -53,6 +53,9 @@ static char *rcs_id = "$Id: dtoa.c,v 1.9 1994/06/28 02
  5. */
  6. #include <stdio.h>
  7. +#include <stdlib.h>
  8. +#include <string.h>
  9. +#include <unistd.h>
  10. #include "commonhd.h"
  11. #include "config.h"
  12. #include "jslib.h"
  13. @@ -89,7 +92,7 @@ struct wnn_file_head file_head;
  14. char *hinsi_file_name = NULL;
  15. -void
  16. +int
  17. main(argc, argv)
  18. int argc;
  19. char **argv;