Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Cleanup compiler warnings

  • Loading branch information...
commit b3230a8b14b59f7e1d8d7b0547c858460356307c 1 parent 7c37344
@bjori bjori authored
View
2  bson.c
@@ -40,7 +40,7 @@ extern zend_class_entry *mongo_ce_BinData,
*mongo_ce_Int32,
*mongo_ce_Int64;
-ZEND_EXTERN_MODULE_GLOBALS(mongo);
+ZEND_EXTERN_MODULE_GLOBALS(mongo)
static int get_limit(mongo_cursor *cursor);
static int prep_obj_for_db(buffer *buf, HashTable *array TSRMLS_DC);
View
2  collection.c
@@ -32,7 +32,7 @@ extern zend_class_entry *mongo_ce_Code, *mongo_ce_Exception, *mongo_ce_ResultExc
extern int le_pconnection, le_connection;
extern zend_object_handlers mongo_default_handlers;
-ZEND_EXTERN_MODULE_GLOBALS(mongo);
+ZEND_EXTERN_MODULE_GLOBALS(mongo)
zend_class_entry *mongo_ce_Collection = NULL;
View
2  cursor.c
@@ -72,7 +72,7 @@ extern int le_pconnection, le_cursor_list;
extern zend_object_handlers mongo_default_handlers;
-ZEND_EXTERN_MODULE_GLOBALS(mongo);
+ZEND_EXTERN_MODULE_GLOBALS(mongo)
static zend_object_value php_mongo_cursor_new(zend_class_entry *class_type TSRMLS_DC);
static void make_special(mongo_cursor *);
View
2  gridfs/gridfs.c
@@ -27,7 +27,7 @@
#include "types/date.h"
#include "types/id.h"
-ZEND_EXTERN_MODULE_GLOBALS(mongo);
+ZEND_EXTERN_MODULE_GLOBALS(mongo)
extern zend_class_entry *mongo_ce_BinData;
extern zend_class_entry *mongo_ce_Collection;
View
2  gridfs/gridfs_stream.c
@@ -41,7 +41,7 @@ typedef __int64 int64_t;
extern zend_class_entry *mongo_ce_BinData, *mongo_ce_GridFS;
extern zend_class_entry *mongo_ce_GridFSFile, *mongo_ce_GridFSException;
-ZEND_EXTERN_MODULE_GLOBALS(mongo);
+ZEND_EXTERN_MODULE_GLOBALS(mongo)
static size_t gridfs_read(php_stream *stream, char *buf, size_t count TSRMLS_DC);
static int gridfs_close(php_stream *stream, int close_handle TSRMLS_DC);
View
2  mcon/str.c
@@ -23,7 +23,7 @@
void mcon_str_add(mcon_str *xs, char *str, int f)
{
- return mcon_str_addl(xs, str, strlen(str), f);
+ mcon_str_addl(xs, str, strlen(str), f);
}
void mcon_str_addl(mcon_str *xs, char *str, int le, int f)
View
2  mongo.c
@@ -23,7 +23,7 @@
extern zend_object_handlers mongoclient_handlers;
-ZEND_EXTERN_MODULE_GLOBALS(mongo);
+ZEND_EXTERN_MODULE_GLOBALS(mongo)
zend_class_entry *mongo_ce_Mongo;
View
2  mongoclient.c
@@ -48,7 +48,7 @@ static int close_connection(mongo_con_manager *manager, mongo_connection *connec
zend_object_handlers mongo_default_handlers;
zend_object_handlers mongoclient_handlers;
-ZEND_EXTERN_MODULE_GLOBALS(mongo);
+ZEND_EXTERN_MODULE_GLOBALS(mongo)
zend_class_entry *mongo_ce_MongoClient;
View
2  types/id.c
@@ -18,7 +18,7 @@
#include "php_mongo.h"
#include "bson.h"
-ZEND_EXTERN_MODULE_GLOBALS(mongo);
+ZEND_EXTERN_MODULE_GLOBALS(mongo)
extern zend_class_entry *mongo_ce_Exception;
View
2  types/timestamp.c
@@ -16,7 +16,7 @@
#include <php.h>
#include "php_mongo.h"
-ZEND_EXTERN_MODULE_GLOBALS(mongo);
+ZEND_EXTERN_MODULE_GLOBALS(mongo)
zend_class_entry *mongo_ce_Timestamp = NULL;
View
2  util/log.c
@@ -21,7 +21,7 @@
#include "log.h"
zend_class_entry *mongo_ce_Log;
-ZEND_EXTERN_MODULE_GLOBALS(mongo);
+ZEND_EXTERN_MODULE_GLOBALS(mongo)
static long set_value(char *setting, zval *return_value TSRMLS_DC);
static void get_value(char *setting, zval *return_value TSRMLS_DC);
Please sign in to comment.
Something went wrong with that request. Please try again.