Merge pull request #3676 from Tarnyko/master
[project/luci.git] / libs / luci-lib-nixio / src / tls-crypto.c
index 714ec4e60c3fb4a0ae0f022d98e30fb13ce2b00e..1d4945c8c847104859a7e820ab34442a6f07649e 100644 (file)
@@ -154,14 +154,14 @@ static int nixio_crypto_hash__tostring(lua_State *L) {
 
 
 /* module table */
-static const luaL_reg R[] = {
+static const luaL_Reg R[] = {
        {"hash",                nixio_crypto_hash},
        {"hmac",                nixio_crypto_hmac},
        {NULL,                  NULL}
 };
 
 /* hash table */
-static const luaL_reg M[] = {
+static const luaL_Reg M[] = {
        {"update",              nixio_crypto_hash_update},
        {"final",               nixio_crypto_hash_final},
        {"__gc",                nixio_crypto_hash__gc},