fixed indentiions and type names

This commit is contained in:
hyung-hwan 2016-01-29 12:31:08 +00:00
parent 6353bbfc15
commit ca08d90853
5 changed files with 17 additions and 18 deletions

View File

@ -80,12 +80,12 @@ host_triplet = @host@
subdir = . subdir = .
DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
$(top_srcdir)/configure $(am__configure_deps) \ $(top_srcdir)/configure $(am__configure_deps) \
$(srcdir)/README.in ac/ar-lib ac/compile ac/config.guess \ $(srcdir)/README.in README ac/ar-lib ac/compile \
ac/config.sub ac/depcomp ac/install-sh ac/missing ac/ltmain.sh \ ac/config.guess ac/config.sub ac/depcomp ac/install-sh \
$(top_srcdir)/ac/ar-lib $(top_srcdir)/ac/compile \ ac/missing ac/ltmain.sh $(top_srcdir)/ac/ar-lib \
$(top_srcdir)/ac/config.guess $(top_srcdir)/ac/config.sub \ $(top_srcdir)/ac/compile $(top_srcdir)/ac/config.guess \
$(top_srcdir)/ac/install-sh $(top_srcdir)/ac/ltmain.sh \ $(top_srcdir)/ac/config.sub $(top_srcdir)/ac/install-sh \
$(top_srcdir)/ac/missing $(top_srcdir)/ac/ltmain.sh $(top_srcdir)/ac/missing
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/argz.m4 \ am__aclocal_m4_deps = $(top_srcdir)/m4/argz.m4 \
$(top_srcdir)/m4/ax_check_sign.m4 \ $(top_srcdir)/m4/ax_check_sign.m4 \

View File

@ -117,7 +117,7 @@ QSE_EXPORT qse_tmr_index_t qse_tmr_insert (
const qse_tmr_event_t* event const qse_tmr_event_t* event
); );
QSE_EXPORT qse_size_t qse_tmr_update ( QSE_EXPORT qse_tmr_index_t qse_tmr_update (
qse_tmr_t* tmr, qse_tmr_t* tmr,
qse_tmr_index_t index, qse_tmr_index_t index,
const qse_tmr_event_t* event const qse_tmr_event_t* event

View File

@ -306,17 +306,17 @@ static void breakdown_time (const qse_ntime_t* nt, qse_btime_t* bt, qse_long_t o
{ {
while (days >= QSE_DAYS_PER_YEAR(year)) while (days >= QSE_DAYS_PER_YEAR(year))
{ {
days -= QSE_DAYS_PER_YEAR(year); days -= QSE_DAYS_PER_YEAR(year);
year++; year++;
}
} }
else }
else
{ {
do do
{ {
year--; year--;
days += QSE_DAYS_PER_YEAR(year); days += QSE_DAYS_PER_YEAR(year);
} }
while (days < 0); while (days < 0);
} }
@ -492,7 +492,7 @@ int qse_timegm (const qse_btime_t* bt, qse_ntime_t* nt)
*nt = n + bt->msec;*/ *nt = n + bt->msec;*/
nt->sec = n; nt->sec = n;
nt->nsec = 0; nt->nsec = 0;
} }
return 0; return 0;

View File

@ -219,7 +219,7 @@ qse_tmr_index_t qse_tmr_insert (qse_tmr_t* tmr, const qse_tmr_event_t* event)
return sift_up (tmr, index, 0); return sift_up (tmr, index, 0);
} }
qse_size_t qse_tmr_update (qse_tmr_t* tmr, qse_size_t index, const qse_tmr_event_t* event) qse_tmr_index_t qse_tmr_update (qse_tmr_t* tmr, qse_size_t index, const qse_tmr_event_t* event)
{ {
qse_tmr_event_t item; qse_tmr_event_t item;

View File

@ -944,8 +944,7 @@ static void adjust_peer_name_and_port (task_proxy_t* proxy)
} }
} }
static int task_init_proxy ( static int task_init_proxy (qse_httpd_t* httpd, qse_httpd_client_t* client, qse_httpd_task_t* task)
qse_httpd_t* httpd, qse_httpd_client_t* client, qse_httpd_task_t* task)
{ {
task_proxy_t* proxy; task_proxy_t* proxy;
task_proxy_arg_t* arg; task_proxy_arg_t* arg;