# $NetBSD: msg_001.ln,v 1.6 2023/01/14 08:48:18 rillig Exp $ # # Test data for message 1 of lint2: # %s defined( %s ), but never used # 0 s msg_001.c S msg_001.c 3 c 0.3 p1 i 16used_not_defined f2 I D I 2 d 0.2 d o 16defined_not_used f0 I # The function 'main' always counts as used. # int main(void) {} 10 d 0.10 d 4main F0 I # extern main() {} 12 d 0.12 e 4main F I # If a function is declared once in old-style and once with prototype, # the prototype definition is preferred; see check_name. # # extern merge_old_style_and_prototype(); 20 d 0.20 e 29merge_old_style_and_prototype F I # extern int merge_old_style_and_prototype(char *); 21 d 0.21 e 29merge_old_style_and_prototype F1 PCI