cvs: /php3 CODING_STANDARDS /php3/functions posix.c
| From: | Egon Schmid | Date: | Sun, 21 Nov 1999 08:30:47 +0000 |
| Subject: | cvs: /php3 CODING_STANDARDS /php3/functions posix.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-12844@lists.php.net to get a copy of this message | ||
eschmid Sun Nov 21 03:30:47 1999 EDT
Modified files:
/php3 CODING_STANDARDS
/php3/functions posix.c
Log:
Oops, void was correct.
Index: php3/CODING_STANDARDS
diff -u php3/CODING_STANDARDS:1.11 php3/CODING_STANDARDS:1.12
--- php3/CODING_STANDARDS:1.11 Sun Nov 21 03:07:20 1999
+++ php3/CODING_STANDARDS Sun Nov 21 03:30:46 1999
@@ -135,7 +135,7 @@
/* {{{ proto int abs(int number)
Return the absolute value of the number */
-int php3_abs(INTERNAL_FUNCTION_PARAMETERS) {
+void php3_abs(INTERNAL_FUNCTION_PARAMETERS) {
...
}
/* }}} */
Index: php3/functions/posix.c
diff -u php3/functions/posix.c:1.13 php3/functions/posix.c:1.14
--- php3/functions/posix.c:1.13 Fri Nov 12 15:53:18 1999
+++ php3/functions/posix.c Sun Nov 21 03:30:47 1999
@@ -27,7 +27,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: posix.c,v 1.13 1999/11/12 20:53:18 sas Exp $ */
+/* $Id: posix.c,v 1.14 1999/11/21 08:30:47 eschmid Exp $ */
#include "php.h"
@@ -148,11 +148,11 @@
void php3_info_posix(void)
{
- php3_printf("$Revision: 1.13 $\n");
+ php3_printf("$Revision: 1.14 $\n");
}
/* {{{ proto int posix_kill(int pid, int sig)
- Send a signal to a process (POSIX.1, 3.3.2) */
+ Send a signal to a process (POSIX.1, 3.3.2) */
void php3_posix_kill(INTERNAL_FUNCTION_PARAMETERS)
{
@@ -547,7 +547,7 @@
/* }}} */
/* {{{ proto bool posix_isatty(int fd)
- Determine if filedesc is a tty (POSIX.1, 4.7.1) */
+ Determine if filedesc is a tty (POSIX.1, 4.7.1) */
void php3_posix_isatty(INTERNAL_FUNCTION_PARAMETERS)
{
pval *fd;
@@ -646,7 +646,7 @@
*/
/* {{{ proto array posix_getgrnam(string groupname)
- Group Database Access (POSIX.1, 9.2.1) */
+ Group Database Access (POSIX.1, 9.2.1) */
void php3_posix_getgrnam(INTERNAL_FUNCTION_PARAMETERS)
{
pval *name;
@@ -682,7 +682,7 @@
/* {{{ proto array posix_getgrgid(long gid)
- Group Database Access (POSIX.1, 9.2.1) */
+ Group database access (POSIX.1, 9.2.1) */
void php3_posix_getgrgid(INTERNAL_FUNCTION_PARAMETERS)
{
pval *gid;
@@ -717,7 +717,7 @@
/* }}} */
/* {{{ proto array posix_getpwnam(string groupname)
- User Database Access (POSIX.1, 9.2.2) */
+ User database access (POSIX.1, 9.2.2) */
void php3_posix_getpwnam(INTERNAL_FUNCTION_PARAMETERS)
{
pval *name;
@@ -752,7 +752,7 @@
/* }}} */
/* {{{ proto array posix_getpwuid(long uid)
- User Database Access (POSIX.1, 9.2.2) */
+ User database access (POSIX.1, 9.2.2) */
void php3_posix_getpwuid(INTERNAL_FUNCTION_PARAMETERS)
{
pval *uid;