Remove useless TSRM from the stomp_new

v1.1
Pierrick Charron 2009-12-27 18:36:22 +00:00
parent c7ea4d16e0
commit 5940fe8264
3 changed files with 3 additions and 3 deletions

View File

@ -453,7 +453,7 @@ PHP_FUNCTION(stomp_connect)
}
}
stomp = stomp_new(url_parts->host, url_parts->port ? url_parts->port : 61613, STOMP_G(read_timeout_sec), STOMP_G(read_timeout_usec) TSRMLS_CC);
stomp = stomp_new(url_parts->host, url_parts->port ? url_parts->port : 61613, STOMP_G(read_timeout_sec), STOMP_G(read_timeout_usec));
php_url_free(url_parts);
#if HAVE_STOMP_SSL

View File

@ -35,7 +35,7 @@ extern zend_class_entry *stomp_ce_exception;
/* {{{ stomp_new
*/
stomp_t *stomp_new(const char *host, unsigned short port, long read_timeout_sec, long read_timeout_usec TSRMLS_DC)
stomp_t *stomp_new(const char *host, unsigned short port, long read_timeout_sec, long read_timeout_usec)
{
/* Memory allocation for the stomp */
stomp_t *stomp = (stomp_t *) emalloc(sizeof(stomp_t));

View File

@ -60,7 +60,7 @@ typedef struct _stomp_frame {
int body_length;
} stomp_frame_t;
stomp_t *stomp_new(const char *host, unsigned short port, long read_timeout_sec, long read_timeout_usec TSRMLS_DC);
stomp_t *stomp_new(const char *host, unsigned short port, long read_timeout_sec, long read_timeout_usec);
int stomp_connect(stomp_t *stomp TSRMLS_DC);
void stomp_close(stomp_t *stomp TSRMLS_DC);
int stomp_send(stomp_t *connection, stomp_frame_t *frame TSRMLS_DC);