summaryrefslogtreecommitdiff
path: root/ext/imap
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>1999-11-30 22:18:40 +0000
committerRasmus Lerdorf <rasmus@php.net>1999-11-30 22:18:40 +0000
commit3bbe1e6a5583daa2ce26bdf72ce402d19de53841 (patch)
tree8314af4f9629fb45e183c57b9e4e150217eaa7ea /ext/imap
parentadf12b60d3c082205d7addf49729aeddd52035f2 (diff)
downloadphp-git-3bbe1e6a5583daa2ce26bdf72ce402d19de53841.tar.gz
Kill some warnings
Diffstat (limited to 'ext/imap')
-rw-r--r--ext/imap/imap.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/imap/imap.c b/ext/imap/imap.c
index a2cc19b609..ef01d7c435 100644
--- a/ext/imap/imap.c
+++ b/ext/imap/imap.c
@@ -80,11 +80,11 @@ extern char *cpystr(const char *string);
extern unsigned long find_rightmost_bit (unsigned long *valptr);
void fs_give (void **block);
void *fs_get (size_t size);
-int add_assoc_object(pval *arg, char *key, pval *tmp);
+static int add_assoc_object(pval *arg, char *key, pval *tmp);
int add_next_index_object(pval *arg, pval *tmp);
void imap_add_body( pval *arg, BODY *body );
-typedef struct php3_imap_le_struct {
+typedef struct php_imap_le_struct {
MAILSTREAM *imap_stream;
long flags;
} pils;
@@ -146,13 +146,13 @@ function_entry imap_functions[] = {
};
-php3_module_entry php3_imap_module_entry = {
- IMAPVER, imap_functions, PHP_MINIT(imap), NULL, NULL, NULL,PHP_MINFO(imap), 0, 0, 0, NULL
+zend_module_entry imap_module_entry = {
+ IMAPVER, imap_functions, PHP_MINIT(imap), NULL, NULL, NULL,PHP_MINFO(imap), STANDARD_MODULE_PROPERTIES
};
#if COMPILE_DL
-DLEXPORT php3_module_entry *get_module(void) { return &php3_imap_module_entry; }
+DLEXPORT php3_module_entry *get_module(void) { return &imap_module_entry; }
#endif
/*