Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC)
- Fix for possible unset uid/gid in toproto
- Fix for default mtree style
- Update libelf
- Importing libexecinfo
- Resynchronize GCC, mpc, gmp, mpfr
- build.sh: Replace params with show-params.
This has been done as the make target has been renamed in the same
way, while a new target named params has been added. This new
target generates a file containing all the parameters, instead of
printing it on the console.
- Update test48 with new etc/services (Fix by Ben Gras <ben@minix3.org)
get getservbyport() out of the inner loop
Change-Id: Ie6ad5226fa2621ff9f0dee8782ea48f9443d2091
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* $NetBSD: gpio.c,v 1.7 2012/03/15 02:02:21 joerg Exp $ */
|
||||
/* $NetBSD: gpio.c,v 1.8 2013/10/26 09:18:00 mbalmer Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2011 Marc Balmer <marc@msys.ch>
|
||||
@@ -255,13 +255,14 @@ static void
|
||||
gpio_set_info(lua_State *L)
|
||||
{
|
||||
lua_pushliteral(L, "_COPYRIGHT");
|
||||
lua_pushliteral(L, "Copyright (C) 2011 Marc Balmer <marc@msys.ch>");
|
||||
lua_pushliteral(L, "Copyright (C) 2011, 2013 Marc Balmer "
|
||||
"<marc@msys.ch>");
|
||||
lua_settable(L, -3);
|
||||
lua_pushliteral(L, "_DESCRIPTION");
|
||||
lua_pushliteral(L, "GPIO interface for Lua");
|
||||
lua_settable(L, -3);
|
||||
lua_pushliteral(L, "_VERSION");
|
||||
lua_pushliteral(L, "gpio 1.0.1");
|
||||
lua_pushliteral(L, "gpio 1.0.2");
|
||||
lua_settable(L, -3);
|
||||
}
|
||||
|
||||
@@ -288,6 +289,7 @@ luaopen_gpio(lua_State* L)
|
||||
int n;
|
||||
|
||||
luaL_register(L, "gpio", methods);
|
||||
luaL_register(L, NULL, gpio_methods);
|
||||
gpio_set_info(L);
|
||||
|
||||
/* The gpio metatable */
|
||||
|
||||
Reference in New Issue
Block a user