Skip to content

Commit cec2d21

Browse files
jensmaurertkoeppe
authored andcommitted
[diff.stmt] Properly refer to function return types
Also annotate the 'void' and 'int' keywords.
1 parent 5c59ede commit cec2d21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/compatibility.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2261,7 +2261,7 @@
22612261
promising to return a value of a given type, and then not returning
22622262
such a value, has always been recognized to be a questionable
22632263
practice, tolerated only because very-old C had no distinction between
2264-
void functions and int functions.
2264+
functions with \keyword{void} and \keyword{int} return types.
22652265
\effect
22662266
Deletion of semantically well-defined feature.
22672267
\difficulty

0 commit comments

Comments
 (0)