Skip to content

Commit

Permalink
Removing "static" keyword from arginfo. In PHP 5.3, the macro ZEND_BE…
Browse files Browse the repository at this point in the history
…GIN_ARG_INFO already expands to "static const zend_arg_info"
  • Loading branch information
Pedro Padron committed Feb 1, 2010
1 parent 554eb53 commit 90c3c77
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions augeas.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,45 +32,37 @@ zend_class_entry *augeas_ce_AugeasException;
/* }}} */

/* {{{ ZEND_BEGIN_ARG_INFO */
static
ZEND_BEGIN_ARG_INFO_EX(arginfo_Augeas__construct, 0, 0, 0)
ZEND_ARG_INFO(0, root)
ZEND_ARG_INFO(0, loadpath)
ZEND_ARG_INFO(0, flags)
ZEND_END_ARG_INFO();

static
ZEND_BEGIN_ARG_INFO(arginfo_Augeas_get, 0)
ZEND_ARG_INFO(0, path)
ZEND_END_ARG_INFO();

static
ZEND_BEGIN_ARG_INFO(arginfo_Augeas_match, 0)
ZEND_ARG_INFO(0, path)
ZEND_END_ARG_INFO();

static
ZEND_BEGIN_ARG_INFO(arginfo_Augeas_set, 0)
ZEND_ARG_INFO(0, path)
ZEND_ARG_INFO(0, value)
ZEND_END_ARG_INFO();

static
ZEND_BEGIN_ARG_INFO(arginfo_Augeas_save, 0)
ZEND_END_ARG_INFO();

static
ZEND_BEGIN_ARG_INFO(arginfo_Augeas_rm, 0)
ZEND_ARG_INFO(0, path)
ZEND_END_ARG_INFO();

static
ZEND_BEGIN_ARG_INFO(arginfo_Augeas_mv, 0)
ZEND_ARG_INFO(0, source)
ZEND_ARG_INFO(0, destination)
ZEND_END_ARG_INFO();

static
ZEND_BEGIN_ARG_INFO_EX(arginfo_Augeas_insert, 0, 0, 2)
ZEND_ARG_INFO(0, path)
ZEND_ARG_INFO(0, label)
Expand Down

0 comments on commit 90c3c77

Please sign in to comment.