Re: Prefer object over notype symbols when disassembling
[deliverable/binutils-gdb.git] / gold / testsuite / ver_test_6.c
index 420635477e445ce3f2b7949276021466fc797095..e1dd2291a5c4af9a7b1299451ea1801982d27381 100644 (file)
@@ -1,6 +1,6 @@
 /* ver_test_6.c -- test common symbol with shared library version
 
-   Copyright 2008 Free Software Foundation, Inc.
+   Copyright (C) 2008-2020 Free Software Foundation, Inc.
    Written by Ian Lance Taylor <iant@google.com>
 
    This file is part of gold.
 
 int t3_2;
 
+/* Since we don't use any of the arguments to main, we give it a void
+   prototype, so as to quiet gcc -Wstrict-prototypes.  */
 int
-main()
+main(void)
 {
   return t3_2;
 }
This page took 0.026029 seconds and 4 git commands to generate.