patch-Wnn_jutil_atod_c 677 B

12345678910111213141516171819202122232425262728293031
  1. $OpenBSD: patch-Wnn_jutil_atod_c,v 1.2 2017/04/29 14:31:40 espie Exp $
  2. --- Wnn/jutil/atod.c.orig
  3. +++ Wnn/jutil/atod.c
  4. @@ -54,6 +54,9 @@ UJIS 򡢼Ͽǽ, ڤӸѴ
  5. #include <stdio.h>
  6. #include <ctype.h>
  7. +#include <string.h>
  8. +#include <stdlib.h>
  9. +#include <unistd.h>
  10. #include "commonhd.h"
  11. #include "config.h"
  12. #include "jslib.h"
  13. @@ -113,7 +116,6 @@ struct uind1 *tary; /* index 1 */
  14. int tnum = 0;
  15. struct uind2 *uhopter;
  16. -char *malloc();
  17. char *hinsi_file_name = NULL;
  18. @@ -219,7 +221,7 @@ extern int sort_func_sdic();
  19. extern int sort_func_je();
  20. FILE *ofpter , *fopen();
  21. -void
  22. +int
  23. main(argc,argv)
  24. int argc ;
  25. char **argv;