aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sparse.1
diff options
authorJohn Levon <john.levon@joyent.com>2019-11-12 16:13:58 +0000
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2019-11-12 21:51:31 +0100
commitfd3528aa0409874386610ce63bb647fff8312fd9 (patch)
tree8f704874f4cbc634a9359f3fbf047f4eb907c9ee /sparse.1
parentcb75739a5e07b0f435b9e2685033e1ba9ebc31cf (diff)
downloadsparse-dev-fd3528aa0409874386610ce63bb647fff8312fd9.tar.gz
Add -Wexternal-function-has-definition
Some older codebases hit this warning all the time, so it's useful to be able to disable it. Signed-off-by: John Levon <john.levon@joyent.com> Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'sparse.1')
-rw-r--r--sparse.17
1 files changed, 7 insertions, 0 deletions
diff --git a/sparse.1 b/sparse.1
index be38f688..574caef3 100644
--- a/sparse.1
+++ b/sparse.1
@@ -244,6 +244,13 @@ Sparse issues these warnings by default. To turn them off, use
\fB\-Wno\-enum\-mismatch\fR.
.
.TP
+.B \-Wexternal\-function\-has\-definition
+Warn about function definitions that are declared with external linkage.
+
+Sparse issues these warnings by default. To turn them off, use
+\fB\-Wno\-external\-function\-has\-definition\fR.
+.
+.TP
.B \-Winit\-cstring
Warn about initialization of a char array with a too long constant C string.