Skip to content

Commit

Permalink
Fix TS build
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaud-lb committed Jul 22, 2008
1 parent f90b1a9 commit 22cd133
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions inotify.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ PHP_MINFO_FUNCTION(inotify)
}
/* }}} */

static int php_inotify_queue_len(const int fd) /* {{{ */
static int php_inotify_queue_len(const int fd TSRMLS_DC) /* {{{ */
{
int ret;
int queue_len;
Expand Down Expand Up @@ -253,7 +253,7 @@ PHP_FUNCTION(inotify_queue_len)
php_stream_from_zval(stream, &zstream);
INOTIFY_FD(stream, fd);

queue_len = php_inotify_queue_len(fd);
queue_len = php_inotify_queue_len(fd TSRMLS_CC);

RETURN_LONG(queue_len);
}
Expand All @@ -279,7 +279,7 @@ PHP_FUNCTION(inotify_read)
php_stream_from_zval(stream, &zstream);
INOTIFY_FD(stream, fd);

readbuf_size = (double) php_inotify_queue_len(fd) * 1.6;
readbuf_size = (double) php_inotify_queue_len(fd TSRMLS_CC) * 1.6;
if (readbuf_size < 1) {
readbuf_size = sizeof(struct inotify_event) + 32;
}
Expand Down

0 comments on commit 22cd133

Please sign in to comment.