Skip to content

Commit

Permalink
move to startup
Browse files Browse the repository at this point in the history
  • Loading branch information
laruence committed Jan 18, 2013
1 parent 3d1d34a commit 2c7212c
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion routes/simple.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
+----------------------------------------------------------------------+
*/

/* $Id: simple.c 329197 2013-01-18 05:55:37Z laruence $ */
/* $Id: simple.c 329200 2013-01-18 06:26:40Z laruence $ */

#ifdef HAVE_CONFIG_H
#include "config.h"
Expand Down
2 changes: 1 addition & 1 deletion routes/static.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
+----------------------------------------------------------------------+
*/

/* $Id: static.c 329197 2013-01-18 05:55:37Z laruence $ */
/* $Id: static.c 329200 2013-01-18 06:26:40Z laruence $ */

#ifdef HAVE_CONFIG_H
#include "config.h"
Expand Down
2 changes: 1 addition & 1 deletion yaf_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
+----------------------------------------------------------------------+
*/

/* $Id: yaf_config.c 329197 2013-01-18 05:55:37Z laruence $ */
/* $Id: yaf_config.c 329200 2013-01-18 06:26:40Z laruence $ */

#ifdef HAVE_CONFIG_H
#include "config.h"
Expand Down
2 changes: 1 addition & 1 deletion yaf_request.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
+----------------------------------------------------------------------+
*/

/* $Id: yaf_request.c 329197 2013-01-18 05:55:37Z laruence $*/
/* $Id: yaf_request.c 329200 2013-01-18 06:26:40Z laruence $*/

#ifdef HAVE_CONFIG_H
#include "config.h"
Expand Down
4 changes: 2 additions & 2 deletions yaf_router.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
+----------------------------------------------------------------------+
*/

/* $Id: yaf_router.c 329199 2013-01-18 05:59:44Z laruence $ */
/* $Id: yaf_router.c 329200 2013-01-18 06:26:40Z laruence $ */

#ifdef HAVE_CONFIG_H
#include "config.h"
Expand Down Expand Up @@ -47,7 +47,6 @@ yaf_router_t * yaf_router_instance(yaf_router_t *this_ptr TSRMLS_DC) {
zval *routes;
yaf_router_t *instance;
yaf_route_t *route;
(void)yaf_route_route_arginfo; /* tricky, supress warning "defined but not used" */

if (this_ptr) {
instance = this_ptr;
Expand Down Expand Up @@ -366,6 +365,7 @@ zend_function_entry yaf_router_methods[] = {
*/
YAF_STARTUP_FUNCTION(router) {
zend_class_entry ce;
(void)yaf_route_route_arginfo; /* tricky, supress warning "defined but not used" */

YAF_INIT_CLASS_ENTRY(ce, "Yaf_Router", "Yaf\\Router", yaf_router_methods);
yaf_router_ce = zend_register_internal_class_ex(&ce, NULL, NULL TSRMLS_CC);
Expand Down
2 changes: 1 addition & 1 deletion yaf_view.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
+----------------------------------------------------------------------+
*/

/* $Id: yaf_view.c 329197 2013-01-18 05:55:37Z laruence $ */
/* $Id: yaf_view.c 329200 2013-01-18 06:26:40Z laruence $ */

#ifdef HAVE_CONFIG_H
#include "config.h"
Expand Down

0 comments on commit 2c7212c

Please sign in to comment.