This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
extern modifier on function declarations
- From: Simon Marchi <simon dot marchi at polymtl dot ca>
- To: gdb-patches at sourceware dot org
- Date: Thu, 08 Dec 2016 10:45:10 -0500
- Subject: extern modifier on function declarations
- Authentication-results: sourceware.org; auth=none
Hi gdb-patches,
Our coding style currently requires using the "extern" keyword on
function declarations. How relevant is this today?
I am not good at reading standards, but it is my impression that in C++,
functions are always extern unless they are declared static. I am sure
some people here know that answer already.
If it's not useful anymore, I would suggest dropping it for future
patches. It doesn't change much, just a bit less verbosity and line
wrapping.
Simon