From 3bc8b9dc9c9bacea79b1c762a670dfff6f272a24 Mon Sep 17 00:00:00 2001 From: Egon Schmid Date: Tue, 8 Aug 2000 20:28:19 +0000 Subject: [PATCH] Beautified some protos. --- ext/ftp/php_ftp.c | 5 ++--- ext/gettext/gettext.c | 10 +++++----- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/ext/ftp/php_ftp.c b/ext/ftp/php_ftp.c index f4e2cc7b64..233d707972 100644 --- a/ext/ftp/php_ftp.c +++ b/ext/ftp/php_ftp.c @@ -24,8 +24,7 @@ | If you did not, or have any questions about PHP licensing, please | | contact core@php.net. | +----------------------------------------------------------------------+ - | Authors: | - | Andrew Skalski | + | Authors: Andrew Skalski | +----------------------------------------------------------------------+ */ @@ -130,7 +129,7 @@ PHP_MINIT_FUNCTION(ftp) } /* {{{ proto int ftp_connect(string host [, int port]) - Open a FTP stream */ + Opens a FTP stream */ PHP_FUNCTION(ftp_connect) { pval *arg1, *arg2; diff --git a/ext/gettext/gettext.c b/ext/gettext/gettext.c index cf70362289..71dfc63fe0 100644 --- a/ext/gettext/gettext.c +++ b/ext/gettext/gettext.c @@ -53,7 +53,7 @@ PHP_MINFO_FUNCTION(gettext) } /* {{{ proto string textdomain(string domain) - Set the textdomain to "domain". Returns the current domain. */ + Set the textdomain to "domain". Returns the current domain */ PHP_FUNCTION(textdomain) { pval **domain; @@ -79,7 +79,7 @@ PHP_FUNCTION(textdomain) /* }}} */ /* {{{ proto string gettext(string msgid) - Return the translation of msgid for the current domain, or msgid unaltered if a translation does not exist. */ + Return the translation of msgid for the current domain, or msgid unaltered if a translation does not exist */ PHP_FUNCTION(gettext) { pval **msgid; @@ -97,7 +97,7 @@ PHP_FUNCTION(gettext) /* }}} */ /* {{{ proto string dgettext(string domain_name, string msgid) - Return the translation of msgid for domain_name, or msgid unaltered if a translation does not exist. */ + Return the translation of msgid for domain_name, or msgid unaltered if a translation does not exist */ PHP_FUNCTION(dgettext) { pval **domain_name, **msgid; @@ -118,7 +118,7 @@ PHP_FUNCTION(dgettext) /* }}} */ /* {{{ proto string dcgettext(string domain_name, string msgid, long category) - Return the translation of msgid for domain_name and category, or msgid unaltered if a translation does not exist. */ + Return the translation of msgid for domain_name and category, or msgid unaltered if a translation does not exist */ PHP_FUNCTION(dcgettext) { pval **domain_name, **msgid, **category; @@ -142,7 +142,7 @@ PHP_FUNCTION(dcgettext) /* }}} */ /* {{{ proto string bindtextdomain(string domain_name, string dir) - Bind to the text domain domain_name, looking for translations in dir. Returns the current domain. */ + Bind to the text domain domain_name, looking for translations in dir. Returns the current domain */ PHP_FUNCTION(bindtextdomain) { pval **domain_name, **dir; -- 2.40.0