1 --- part.c
2 +++ part.c
3 @@ -27,6 +27,7 @@
4   */
5 
6  #include <stdio.h>
7 +#include <stdlib.h>
8  #include <string.h>
9 
10  #include "part.h"
11 @@ -58,7 +59,7 @@
12  /*
13   * Close and free 'part'.
14   */
15 -int part_close(struct part *part)
16 +void part_close(struct part *part)
17  {
18      fclose(part->infile);
19      if (part->buf) free(part->buf);
20 @@ -77,8 +78,7 @@
21  /*
22   * Add to 'part' the multipart boundary 'boundary'.
23   */
24 -int
25 -part_addboundary(struct part *part, char *boundary)
26 +void part_addboundary(struct part *part, char *boundary)
27  {
28      /* Grow boundary array if necessary */
29      if (part->boundary_num == part->boundary_alloc) {
30 @@ -165,8 +165,7 @@
31   * Leaves room in the input buffer to push back an additional single
32   * character using the prot_ungetc() macro.
33   */
34 -int
35 -part_ungets(char *s, struct part *part)
36 +void part_ungets(char *s, struct part *part)
37  {
38      int len = strlen(s);
39      int i;
40