https://www.mediawiki.org/wiki/Special:Code/MediaWiki/114923
Revision: 114923
Author: hashar
Date: 2012-04-16 12:43:39 +0000 (Mon, 16 Apr 2012)
Log Message:
-----------
noclock mode missed some variables definition
Modified Paths:
--------------
trunk/php/luasandbox/luasandbox_timer.h
trunk/php/luasandbox/timer.c
Modified: trunk/php/luasandbox/luasandbox_timer.h
===================================================================
--- trunk/php/luasandbox/luasandbox_timer.h 2012-04-16 12:40:23 UTC (rev
114922)
+++ trunk/php/luasandbox/luasandbox_timer.h 2012-04-16 12:43:39 UTC (rev
114923)
@@ -38,6 +38,10 @@
#define LUASANDBOX_NO_CLOCK
typedef struct {} luasandbox_timer;
+typedef struct {} luasandbox_timer_set;
+void timer_settime();
+void timer_delete();
+void timer_create();
#endif
Modified: trunk/php/luasandbox/timer.c
===================================================================
--- trunk/php/luasandbox/timer.c 2012-04-16 12:40:23 UTC (rev 114922)
+++ trunk/php/luasandbox/timer.c 2012-04-16 12:43:39 UTC (rev 114923)
@@ -15,12 +15,13 @@
void luasandbox_timer_install_handler(struct sigaction * oldact) {}
void luasandbox_timer_remove_handler(struct sigaction * oldact) {}
-void luasandbox_timer_start(luasandbox_timer_set * lts,
+void luasandbox_timer_start(luasandbox_timer_set * lts,
php_luasandbox_obj * sandbox,
struct timespec * normal_timeout,
struct timespec * emergency_timeout) {}
void luasandbox_timer_stop(luasandbox_timer_set * lts) {}
void luasandbox_timer_timeout_error(lua_State *L) {}
+char luasandbox_timeout_message[];
#else
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs