patch-uudecode_c 762 B

1234567891011121314151617181920212223242526272829303132
  1. $OpenBSD: patch-uudecode_c,v 1.1 2012/12/11 11:01:31 sthen Exp $
  2. Allow building with CLang's scan-build.
  3. --- uudecode.c.orig Mon Jul 21 21:46:37 2003
  4. +++ uudecode.c Tue Dec 11 10:23:21 2012
  5. @@ -35,6 +35,7 @@ extern FILE *os_createnewfile(char *fname);
  6. static FILE *startDescFile(char *fname);
  7. +void uudecodeline(char *line, FILE *outfile);
  8. /* Length of a normal uuencoded line, including newline */
  9. #define UULENGTH 62
  10. @@ -826,7 +827,7 @@ uudecodefiles(char *dir, int nparts)
  11. /*
  12. * Decode a uuencoded line to 'outfile'
  13. */
  14. -int uudecodeline(char *line, FILE *outfile)
  15. +void uudecodeline(char *line, FILE *outfile)
  16. {
  17. int c, len;
  18. @@ -845,7 +846,4 @@ int uudecodeline(char *line, FILE *outfile)
  19. }
  20. line += 4;
  21. }
  22. - return;
  23. }
  24. -
  25. -