Merge pull request #438 from MisterTea/patch-1

mingw-utils: Fix return value in reimp.c
This commit is contained in:
Timothy Gu 2014-07-29 13:19:55 -07:00
commit 879adbc362
1 changed files with 9 additions and 0 deletions

View File

@ -53,6 +53,15 @@ diff -r 62cf992c82c9 reimp/reimp.c
{
struct ar_hdr ar_hdr;
struct imp_hdr imp_hdr;
@@ -410,7 +410,7 @@
extract_member (get_ar_name (&ar_hdr),
strtol (ar_hdr.ar_size, NULL, 10), f);
}
- return;
+ return 0;
}
sym = buf = xmalloc (imp_hdr.size);
diff -r 62cf992c82c9 reimp/reimp.h
--- a/reimp/reimp.h Fri Nov 26 19:02:28 2010 +0100
+++ b/reimp/reimp.h Fri Nov 26 19:14:59 2010 +0100