ref: 80123617fccf01cc375afeff9177027e3d510567
parent: 1c3d5239c706baeaf036a9e628fd78744e0efd8d
author: Chris Bagwell <chris@cnpbagwell.com>
date: Wed Oct 29 17:47:33 EDT 2014
Fix warning about ignored cdecl. Only need value on prototype; not the implementation.
--- a/src/getopt.c
+++ b/src/getopt.c
@@ -23,7 +23,7 @@
#include <string.h>
void
-LSX_API lsx_getopt_init(
+lsx_getopt_init(
LSX_PARAM_IN int argc, /* Number of arguments in argv */
LSX_PARAM_IN_COUNT(argc) char * const * argv, /* Array of arguments */
LSX_PARAM_IN_Z char const * shortopts, /* Short option characters */
@@ -78,7 +78,7 @@
}
int
-LSX_API lsx_getopt(
+lsx_getopt(
LSX_PARAM_INOUT lsx_getopt_t * state)
{
int oerr;