]> granicus.if.org Git - php/commitdiff
fix folding and add missing footer
authorAntony Dovgal <tony2001@php.net>
Mon, 12 Mar 2007 20:55:07 +0000 (20:55 +0000)
committerAntony Dovgal <tony2001@php.net>
Mon, 12 Mar 2007 20:55:07 +0000 (20:55 +0000)
ext/standard/uuencode.c

index a82f984ddd88cae108f906353ccb386090371d8f..af238d7ba4ef42052ab6698432513a0c282d78a2 100644 (file)
@@ -65,7 +65,7 @@
 
 #define PHP_UU_DEC(c) (((c) - ' ') & 077)
 
-PHPAPI int php_uuencode(char *src, int src_len, char **dest)
+PHPAPI int php_uuencode(char *src, int src_len, char **dest) /* {{{ */
 {
        int len = 45;
        char *p, *s, *e, *ee;
@@ -122,8 +122,9 @@ PHPAPI int php_uuencode(char *src, int src_len, char **dest)
 
        return (p - *dest);
 }
+/* }}} */
 
-PHPAPI int php_uudecode(char *src, int src_len, char **dest)
+PHPAPI int php_uudecode(char *src, int src_len, char **dest) /* {{{ */
 {
        int len, total_len=0;
        char *s, *e, *p, *ee;
@@ -182,6 +183,7 @@ err:
        efree(*dest);
        return -1;
 }
+/* }}} */
 
 /* {{{ proto string convert_uuencode(string data) U
    uuencode a string */
@@ -245,3 +247,12 @@ PHP_FUNCTION(convert_uudecode)
        RETURN_STRINGL(dst, dst_len, 0);
 }
 /* }}} */
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */