[BACK]Return to compat_sqlite3_errstr.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

File: [cvsweb.bsd.lv] / mandoc / Attic / compat_sqlite3_errstr.c (download)

Revision 1.4, Tue Oct 6 18:32:19 2015 UTC (8 years, 5 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_13_4, VERSION_1_13
Changes since 1.3: +1 -1 lines

modernize style: "return" is not a function

#include "config.h"

#if HAVE_SQLITE3_ERRSTR

int dummy;

#else

const char *
sqlite3_errstr(int rc)
{

	return rc ? "unknown error" : "not an error";
}

#endif