[asterisk-commits] mnicholson: branch mnicholson/asttest r170388 - /team/mnicholson/asttest/astt...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jan 22 22:07:26 CST 2009


Author: mnicholson
Date: Thu Jan 22 22:07:26 2009
New Revision: 170388

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=170388
Log:
Maded internal lua functions static.

 * asttest/lib/lua.c: make lua_xfail and lua_ts_log static

Modified:
    team/mnicholson/asttest/asttest/lib/lua.c

Modified: team/mnicholson/asttest/asttest/lib/lua.c
URL: http://svn.digium.com/svn-view/asterisk/team/mnicholson/asttest/asttest/lib/lua.c?view=diff&rev=170388&r1=170387&r2=170388
==============================================================================
--- team/mnicholson/asttest/asttest/lib/lua.c (original)
+++ team/mnicholson/asttest/asttest/lib/lua.c Thu Jan 22 22:07:26 2009
@@ -61,7 +61,7 @@
  * \brief [lua_CFunction] Log a message for the current test.
  * \param message [lua] the string to log
  */
-int lua_ts_log(lua_State *L) {
+static int lua_ts_log(lua_State *L) {
 	const char *string = luaL_checkstring(L, 1);
 	struct testsuite *ts = push_ts(L);
 	const char *name = push_test_name(L);
@@ -75,7 +75,7 @@
  * \brief [lua_CFunction] Notify the test driver that this test is expected to
  * fail.
  */
-int lua_xfail(lua_State *L) {
+static int lua_xfail(lua_State *L) {
 	lua_pushboolean(L, 1);
 	lua_setfield(L, LUA_REGISTRYINDEX, "asttest_xfail");
 	return 0;




More information about the asterisk-commits mailing list