Skip to content

Commit cd644ca

Browse files
committed
Merge branch 'implicit-function-declaration' of github.com:MathiasVP/ql into implicit-function-declaration
2 parents 303c6aa + aaf2679 commit cd644ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/ql/src/Likely Bugs/Underspecified Functions/ImplicitFunctionDeclaration.qlhelp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<overview>
88
<p>A function is called without a prior function declaration or definition.
99
When this happens, the compiler generates an implicit declaration of the function,
10-
specifying an integer return type and no parameters.</p>
10+
specifying an integer return type and no parameters.
1111
</p>
1212

1313
<p>This may indicate a misspelled function name, or that the required header containing
@@ -23,6 +23,6 @@ the function declaration has not been included.</p>
2323
</example>
2424

2525
<references>
26-
<li>SEI CERT C Coding Standard: <a href="https://wiki.sei.cmu.edu/confluence/display/c/DCL31-C.+Declare+identifiers+before+using+them"> DCL20-C. Explicitly specify void when a function accepts no arguments </a></li>
26+
<li>SEI CERT C Coding Standard: <a href="https://wiki.sei.cmu.edu/confluence/display/c/DCL31-C.+Declare+identifiers+before+using+them">DCL31-C. Declare identifiers before using them</a></li>
2727
</references>
2828
</qhelp>

0 commit comments

Comments
 (0)