[asterisk-commits] mnicholson: testsuite/asterisk/trunk r245 - /asterisk/trunk/asttest/tools/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Apr 23 09:40:46 CDT 2010


Author: mnicholson
Date: Fri Apr 23 09:40:42 2010
New Revision: 245

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=245
Log:
Modified lfs so that no warnings are generated when compiling.

Modified:
    asterisk/trunk/asttest/tools/lfs.diff

Modified: asterisk/trunk/asttest/tools/lfs.diff
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/asttest/tools/lfs.diff?view=diff&rev=245&r1=244&r2=245
==============================================================================
--- asterisk/trunk/asttest/tools/lfs.diff (original)
+++ asterisk/trunk/asttest/tools/lfs.diff Fri Apr 23 09:40:42 2010
@@ -1,6 +1,6 @@
 diff -ru a/config b/config
 --- a/config	2007-10-27 17:42:32.000000000 -0500
-+++ b/config	2009-04-01 20:18:09.000000000 -0500
++++ b/config	2010-03-25 10:35:55.000000000 -0500
 @@ -18,7 +18,8 @@
  # Compilation directives
  WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -pedantic
@@ -11,3 +11,16 @@
  CC= gcc
  
  # $Id$
+diff -ru a/src/lfs.c b/src/lfs.c
+--- a/src/lfs.c	2009-02-03 16:05:48.000000000 -0600
++++ b/src/lfs.c	2010-04-23 09:37:58.000000000 -0500
+@@ -232,7 +232,8 @@
+   }
+ }
+ #else
+-static int lfs_g_setmode (lua_State *L, FILE *f, int arg) {
++#define lfs_g_setmode(L, f, arg) __lfs_g_setmode(L)
++static int __lfs_g_setmode (lua_State *L) {
+   lua_pushboolean(L, 0);
+   lua_pushliteral(L, "setmode not supported on this platform");
+   return 2;




More information about the asterisk-commits mailing list