summaryrefslogtreecommitdiff
path: root/ext/calendar/cal_unix.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-08-11 16:39:07 +0000
committerZeev Suraski <zeev@php.net>2001-08-11 16:39:07 +0000
commitf6f6c4d7e63d2eaf4ece7aee66f46a013b29bffa (patch)
tree4013e29cc962a2f0363f61d764da46d8302d828e /ext/calendar/cal_unix.c
parentbafa98109cb7ac4c95a4d47e010139f4cd100bde (diff)
downloadphp-git-f6f6c4d7e63d2eaf4ece7aee66f46a013b29bffa.tar.gz
Whitespace
Diffstat (limited to 'ext/calendar/cal_unix.c')
-rw-r--r--ext/calendar/cal_unix.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/calendar/cal_unix.c b/ext/calendar/cal_unix.c
index 80853eac3d..cb3ff68ac9 100644
--- a/ext/calendar/cal_unix.c
+++ b/ext/calendar/cal_unix.c
@@ -34,7 +34,7 @@ PHP_FUNCTION(unixtojd)
struct tm *ta, tmbuf;
int myargc=ZEND_NUM_ARGS();
- if ((myargc > 1) || (zend_get_parameters(ht,myargc, &timestamp) != SUCCESS)) {
+ if ((myargc > 1) || (zend_get_parameters(ht, myargc, &timestamp) != SUCCESS)) {
WRONG_PARAM_COUNT;
}
@@ -50,7 +50,7 @@ PHP_FUNCTION(unixtojd)
}
ta = php_localtime_r(&t, &tmbuf);
- jdate = GregorianToSdn(ta->tm_year+1900, ta->tm_mon+1,ta->tm_mday);
+ jdate = GregorianToSdn(ta->tm_year+1900, ta->tm_mon+1, ta->tm_mday);
RETURN_LONG(jdate);
}
@@ -63,7 +63,7 @@ PHP_FUNCTION(jdtounix)
pval *jday;
long uday;
- if ((ZEND_NUM_ARGS()!= 1) || (zend_get_parameters(ht,1, &jday) != SUCCESS)) {
+ if ((ZEND_NUM_ARGS()!= 1) || (zend_get_parameters(ht, 1, &jday) != SUCCESS)) {
WRONG_PARAM_COUNT;
}