summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortabe <none@none>2013-02-11 12:12:41 +0900
committertabe <none@none>2013-02-11 12:12:41 +0900
commit7c51c9b06352a630e9b3c0cb7d23faf18c4b84f5 (patch)
tree48a68bd2682b7aecc9414f558e2d4b176dd8e792
parent535eab566b4a412eef21347653fb98a48857d169 (diff)
downloadlibgd-7c51c9b06352a630e9b3c0cb7d23faf18c4b84f5.tar.gz
fix -Wreturn-type
-rw-r--r--examples/arc.c1
-rw-r--r--examples/tgaread.c1
-rw-r--r--examples/tiffread.c1
-rw-r--r--tests/gdtest/gdtest.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/examples/arc.c b/examples/arc.c
index 8fe4c07..b9d504b 100644
--- a/examples/arc.c
+++ b/examples/arc.c
@@ -23,4 +23,5 @@ int main()
fclose(fp);
gdImageDestroy(im);
+ return 0;
}
diff --git a/examples/tgaread.c b/examples/tgaread.c
index e5d6df0..1f7878d 100644
--- a/examples/tgaread.c
+++ b/examples/tgaread.c
@@ -49,4 +49,5 @@ int main()
fclose(fp);
gdImageDestroy(im);
}
+ return 0;
}
diff --git a/examples/tiffread.c b/examples/tiffread.c
index 430ecbc..aaeded6 100644
--- a/examples/tiffread.c
+++ b/examples/tiffread.c
@@ -55,4 +55,5 @@ int main()
fclose(fp);
gdImageDestroy(im);
}
+ return 0;
}
diff --git a/tests/gdtest/gdtest.c b/tests/gdtest/gdtest.c
index af918f3..2fc5ccc 100644
--- a/tests/gdtest/gdtest.c
+++ b/tests/gdtest/gdtest.c
@@ -219,5 +219,6 @@ int _gdTestErrorMsg(const char* file, int line, const char* format, ...) /* {{{
fputs (output_buf, stderr);
fflush (stderr);
+ return 0;
}
/* }}} */