summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/dom/documentfragment.c2
-rw-r--r--ext/msession/reqclient.h8
-rw-r--r--ext/oci8/php_oci8.h4
-rw-r--r--ext/w32api/w32api.c6
-rw-r--r--sapi/milter/php_milter.c2
5 files changed, 11 insertions, 11 deletions
diff --git a/ext/dom/documentfragment.c b/ext/dom/documentfragment.c
index e31adfc48c..3b565c4efd 100644
--- a/ext/dom/documentfragment.c
+++ b/ext/dom/documentfragment.c
@@ -63,7 +63,7 @@ PHP_METHOD(domdocumentfragment, __construct)
if (oldnode != NULL) {
php_libxml_node_free_resource(oldnode TSRMLS_CC);
}
- //php_dom_set_object(intern, nodep TSRMLS_CC);
+ /* php_dom_set_object(intern, nodep TSRMLS_CC); */
php_libxml_increment_node_ptr((php_libxml_node_object *)intern, nodep, (void *)intern TSRMLS_CC);
}
}
diff --git a/ext/msession/reqclient.h b/ext/msession/reqclient.h
index c0c6f51226..22414fea38 100644
--- a/ext/msession/reqclient.h
+++ b/ext/msession/reqclient.h
@@ -107,11 +107,11 @@ typedef struct _requestPacket
typedef struct _requestBuf
{
- unsigned int type; // Type of packet, dynamic/static
- unsigned int size; // size of memory block
+ unsigned int type; /* Type of packet, dynamic/static */
+ unsigned int size; /* size of memory block */
#if (REQCLIENT_VER >= 030113)
- unsigned int fmt; // format, binary/ascii
- unsigned int reserved; // Just in case
+ unsigned int fmt; /* format, binary/ascii */
+ unsigned int reserved; /* Just in case */
#else
#warning You are using an old Phoenix definition, this will have problems with a newer version
#endif
diff --git a/ext/oci8/php_oci8.h b/ext/oci8/php_oci8.h
index 3fe1cdfefc..30ea19c718 100644
--- a/ext/oci8/php_oci8.h
+++ b/ext/oci8/php_oci8.h
@@ -100,8 +100,8 @@ typedef struct {
dvoid *ocidescr;
ub4 type;
int lob_current_position;
- int lob_size; // -1 = Lob wasn't initialized yet
- int buffering; // 0 - off, 1 - on, 2 - on and buffer was used
+ int lob_size; /* -1 = Lob wasn't initialized yet */
+ int buffering; /* 0 - off, 1 - on, 2 - on and buffer was used */
} oci_descriptor;
typedef struct {
diff --git a/ext/w32api/w32api.c b/ext/w32api/w32api.c
index c3ddb30f9d..4dc52a86f5 100644
--- a/ext/w32api/w32api.c
+++ b/ext/w32api/w32api.c
@@ -819,7 +819,7 @@ static int php_w32api_load_library (char *library_name, w32api_lib_handle **lh T
FORMAT_MESSAGE_IGNORE_INSERTS,
NULL,
GetLastError(),
- MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), // Default language
+ MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), /* Default language */
(LPTSTR)&message_buffer,
0,
NULL);
@@ -1162,8 +1162,8 @@ w32api_result php_w32api_do_dynamic_dll_call(w32api_func_handle *fh, int argc, w
int size = 0, i = 0;
FARPROC fp = fh->handle;
- _asm mov stack_pointer, esp // Store stack pointer (esp) in stack_pointer
- _asm sub esp, 0x100 // Give ourselves 256 bytes on the stack
+ _asm mov stack_pointer, esp /* Store stack pointer (esp) in stack_pointer */
+ _asm sub esp, 0x100 /* Give ourselves 256 bytes on the stack */
for(i = (argc - 1); i >= 0; i--)
diff --git a/sapi/milter/php_milter.c b/sapi/milter/php_milter.c
index 062bd2c2c9..b46347ce0d 100644
--- a/sapi/milter/php_milter.c
+++ b/sapi/milter/php_milter.c
@@ -1076,7 +1076,7 @@ int main(int argc, char *argv[])
ap_php_optind++;
}
- // check if file exists, exit else
+ /* check if file exists, exit else */
if (dofork) {
switch(fork()) {