# $NetBSD: msg_001.ln,v 1.3 2021/08/07 19:07:03 rillig Exp $ # # Test data for message 1 of lint2: # %s defined( %s ), but never used # 0smsg_001.c Smsg_001.c 3c0.3p1i16used_not_definedf2IDI 2d0.2do16defined_not_usedf0I # The function 'main' always counts as used. # int main(void) {} 10d0.10d4mainF0I # extern main() {} 12d0.12e4mainFI # If a function is declared once in old style and once with prototype, # the prototype definition is preferred; see chkname. # # extern merge_old_style_and_prototype(); 20d0.20e29merge_old_style_and_prototypeFI # extern int merge_old_style_and_prototype(char *); 21d0.21e29merge_old_style_and_prototypeF1PCI