diff --git a/lib/md5_test.C b/lib/md5_test.C index 45277ee62f..0a26deeeda 100644 --- a/lib/md5_test.C +++ b/lib/md5_test.C @@ -2,10 +2,12 @@ #include "md5_file.h" -main(int, char** argv) { +int main(int, char** argv) { char out[33]; double nbytes; md5_file(argv[1], out, nbytes); printf("%s\n%f bytes\n", out, nbytes); + + return 0; } diff --git a/lib/shmem_test.C b/lib/shmem_test.C index 1ee54e794f..7e43a8f134 100644 --- a/lib/shmem_test.C +++ b/lib/shmem_test.C @@ -13,7 +13,7 @@ #include "shmem.h" -main(int argc, char** argv) { +int main(int argc, char** argv) { void* p; int retval; @@ -25,4 +25,6 @@ main(int argc, char** argv) { } else if (!strcmp(argv[1], "-c")) { create_shmem(KEY, 100, &p); } + + return 0; }