From 6cfcf6e01096762ecef0577067ed0473e0bf50ae Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Thu, 19 Oct 2000 23:14:51 +0000 Subject: [PATCH] - Removed the shm_* aliases @- Removed the shm_* aliases, only the smhop_* function wiil be @ supported (Derick) #I'll change the NEWS file as soon as it has been rebuild --- ext/shmop/shmop.c | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/ext/shmop/shmop.c b/ext/shmop/shmop.c index 7d892583ba..f2531acd18 100644 --- a/ext/shmop/shmop.c +++ b/ext/shmop/shmop.c @@ -42,13 +42,6 @@ function_entry shmop_functions[] = { PHP_FE(shmop_size, NULL) PHP_FE(shmop_write, NULL) PHP_FE(shmop_delete, NULL) - - PHP_FALIAS(shm_open, shmop_open, NULL) - PHP_FALIAS(shm_read, shmop_read, NULL) - PHP_FALIAS(shm_close, shmop_close, NULL) - PHP_FALIAS(shm_size, shmop_size, NULL) - PHP_FALIAS(shm_write, shmop_write, NULL) - PHP_FALIAS(shm_delete, shmop_delete, NULL) {NULL, NULL, NULL} /* Must be the last line in shmop_functions[] */ }; @@ -95,7 +88,7 @@ PHP_MINFO_FUNCTION(shmop) } /* {{{ proto int shmop_open (int key, int flags, int mode, int size) - shmop_open - gets and attaches a shared memory segment */ + gets and attaches a shared memory segment */ PHP_FUNCTION(shmop_open) { zval **key, **flags, **mode, **size; @@ -162,7 +155,7 @@ PHP_FUNCTION(shmop_open) /* {{{ proto string shmop_read (int shmid, int start, int count) - shmop_read - reads from a shm segment */ + reads from a shm segment */ PHP_FUNCTION(shmop_read) { zval **shmid, **start, **count; @@ -214,7 +207,7 @@ PHP_FUNCTION(shmop_read) /* {{{ proto void shmop_close (int shmid) - shmop_close - closes a shared memory segment */ + closes a shared memory segment */ PHP_FUNCTION(shmop_close) { zval **shmid; @@ -239,7 +232,7 @@ PHP_FUNCTION(shmop_close) /* {{{ proto int shmop_size (int shmid) - shmop_size - returns the shm size */ + returns the shm size */ PHP_FUNCTION(shmop_size) { zval **shmid; @@ -265,7 +258,7 @@ PHP_FUNCTION(shmop_size) /* {{{ proto int shmop_write (int shmid, string data, int offset) - shmop_write - writes to a shared memory segment */ + writes to a shared memory segment */ PHP_FUNCTION(shmop_write) { zval **shmid, **data, **offset; @@ -302,7 +295,7 @@ PHP_FUNCTION(shmop_write) /* {{{ proto bool shmop_delete (int shmid) - shmop_delete - mark segment for deletion */ + mark segment for deletion */ PHP_FUNCTION(shmop_delete) { zval **shmid; -- 2.40.0