summaryrefslogtreecommitdiff
path: root/sapi/cli/getopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/cli/getopt.c')
-rw-r--r--sapi/cli/getopt.c15
1 files changed, 13 insertions, 2 deletions
diff --git a/sapi/cli/getopt.c b/sapi/cli/getopt.c
index 4821a9c84d..7e6419e674 100644
--- a/sapi/cli/getopt.c
+++ b/sapi/cli/getopt.c
@@ -28,7 +28,7 @@
#define OPTERRARG (3)
-static int php_opt_error(int argc, char * const *argv, int oint, int optchr, int err, int show_err)
+static int php_opt_error(int argc, char * const *argv, int oint, int optchr, int err, int show_err) /* {{{ */
{
if (show_err)
{
@@ -51,8 +51,9 @@ static int php_opt_error(int argc, char * const *argv, int oint, int optchr, int
}
return('?');
}
+/* }}} */
-int php_getopt(int argc, char* const *argv, const opt_struct opts[], char **optarg, int *optind, int show_err)
+int php_getopt(int argc, char* const *argv, const opt_struct opts[], char **optarg, int *optind, int show_err) /* {{{ */
{
static int optchr = 0;
static int dash = 0; /* have already seen the - */
@@ -162,3 +163,13 @@ int php_getopt(int argc, char* const *argv, const opt_struct opts[], char **opta
assert(0);
return(0); /* never reached */
}
+/* }}} */
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: sw=4 ts=4 fdm=marker
+ * vim<600: sw=4 ts=4
+ */