Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/lua/sqlite Fix function name, no functional change.



details:   https://anonhg.NetBSD.org/src/rev/e7f02c9110be
branches:  trunk
changeset: 343582:e7f02c9110be
user:      mbalmer <mbalmer%NetBSD.org@localhost>
date:      Mon Feb 15 15:56:33 2016 +0000

description:
Fix function name, no functional change.
Found by Travis Paul, (see PR/50786), thanks for reporting!

diffstat:

 lib/lua/sqlite/sqlite.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r 5abf5f3033ed -r e7f02c9110be lib/lua/sqlite/sqlite.c
--- a/lib/lua/sqlite/sqlite.c   Mon Feb 15 15:53:45 2016 +0000
+++ b/lib/lua/sqlite/sqlite.c   Mon Feb 15 15:56:33 2016 +0000
@@ -1,7 +1,7 @@
-/*     $NetBSD: sqlite.c,v 1.7 2014/07/19 18:38:34 lneto Exp $ */
+/*     $NetBSD: sqlite.c,v 1.8 2016/02/15 15:56:33 mbalmer Exp $ */
 
 /*
- * Copyright (c) 2011, 2013 Marc Balmer <marc%msys.ch@localhost>
+ * Copyright (c) 2011, 2013, 2016 Marc Balmer <marc%msys.ch@localhost>
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -392,7 +392,7 @@
 };
 
 static void
-gpio_set_info(lua_State *L)
+sqlite_set_info(lua_State *L)
 {
        lua_pushliteral(L, "_COPYRIGHT");
        lua_pushliteral(L, "Copyright (C) 2011, 2012, 2013 by "
@@ -449,7 +449,7 @@
        luaL_newlib(L, sqlite_methods);
        luaL_setfuncs(L, db_methods, 0);
        luaL_setfuncs(L, stmt_methods, 0);
-       gpio_set_info(L);
+       sqlite_set_info(L);
 
        /* The database connection metatable */
        if (luaL_newmetatable(L, SQLITE_DB_METATABLE)) {



Home | Main Index | Thread Index | Old Index