ivakyb / minini

Automatically exported from code.google.com/p/minini
Other
0 stars 0 forks source link

no prototype in place for strnicmp #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Using Dev-C++ on Windows 7 64bits to compile a C-only application
2. Defined PORTABLE_STRNICMP for using the portable version
3. The compiler does complain that it cannot find the strnicmp routine because 
there are no prototype for it.

Since it is a internal routine only, I just moved it from bottom of the 
minIni.c file to the top, right before the quoteOption enum.

Attached is a diff that fixes minIni.c.

Original issue reported on code.google.com by daniel.f...@gmail.com on 27 Aug 2012 at 8:28

Attachments:

GoogleCodeExporter commented 9 years ago
Merged in the trunk of r46 (version 1.2B). Thank you.

Original comment by thiadmer...@gmail.com on 4 Dec 2012 at 1:40