From fe3d4d0134723ff64f1fcc5c3158ad713a2bd003 Mon Sep 17 00:00:00 2001 From: "D. Richard Hipp" Date: Mon, 14 May 2018 00:41:12 +0000 Subject: [PATCH] Export the deduceDatabaseType() function the shell.c source file. --- src/shell.c.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shell.c.in b/src/shell.c.in index ef68cddba0..50f36d9a43 100644 --- a/src/shell.c.in +++ b/src/shell.c.in @@ -3541,7 +3541,7 @@ static int session_filter(void *pCtx, const char *zTab){ ** Otherwise, assume an ordinary database regardless of the filename if ** the type cannot be determined from content. */ -static int deduceDatabaseType(const char *zName, int dfltZip){ +int deduceDatabaseType(const char *zName, int dfltZip){ FILE *f = fopen(zName, "rb"); size_t n; int rc = SHELL_OPEN_UNSPEC; -- 2.11.4.GIT