diff options
Diffstat (limited to 'editors/patch.c')
-rw-r--r-- | editors/patch.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/editors/patch.c b/editors/patch.c index 4ddcd004d..f11f8a1a2 100644 --- a/editors/patch.c +++ b/editors/patch.c | |||
@@ -43,7 +43,7 @@ static unsigned int copy_lines(FILE *src_stream, FILE *dest_stream, const unsign | |||
43 | 43 | ||
44 | i++; | 44 | i++; |
45 | } | 45 | } |
46 | return(i); | 46 | return i; |
47 | } | 47 | } |
48 | 48 | ||
49 | /* If patch_level is -1 it will remove all directory names | 49 | /* If patch_level is -1 it will remove all directory names |
@@ -67,13 +67,13 @@ static char *extract_filename(char *line, int patch_level) | |||
67 | filename_start_ptr = temp + 1; | 67 | filename_start_ptr = temp + 1; |
68 | } | 68 | } |
69 | 69 | ||
70 | return(xstrdup(filename_start_ptr)); | 70 | return xstrdup(filename_start_ptr); |
71 | } | 71 | } |
72 | 72 | ||
73 | static int file_doesnt_exist(const char *filename) | 73 | static int file_doesnt_exist(const char *filename) |
74 | { | 74 | { |
75 | struct stat statbuf; | 75 | struct stat statbuf; |
76 | return(stat(filename, &statbuf)); | 76 | return stat(filename, &statbuf); |
77 | } | 77 | } |
78 | 78 | ||
79 | int patch_main(int argc, char **argv) | 79 | int patch_main(int argc, char **argv) |
@@ -269,5 +269,5 @@ int patch_main(int argc, char **argv) | |||
269 | * 1 = Some hunks failed | 269 | * 1 = Some hunks failed |
270 | * 2 = More serious problems | 270 | * 2 = More serious problems |
271 | */ | 271 | */ |
272 | return(ret); | 272 | return ret; |
273 | } | 273 | } |