From ed848b1c54e520db760760f1db2e79414cf39bf6 Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Mon, 11 May 2009 00:35:56 -0300 Subject: Fix non-C style comments in libalpm Signed-off-by: Gerardo Exequiel Pozzi Signed-off-by: Dan McGee --- lib/libalpm/be_files.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libalpm/be_files.c') diff --git a/lib/libalpm/be_files.c b/lib/libalpm/be_files.c index 8ac253ae..9bb7b3dc 100644 --- a/lib/libalpm/be_files.c +++ b/lib/libalpm/be_files.c @@ -489,7 +489,7 @@ int _alpm_db_read(pmdb_t *db, pmpkg_t *info, pmdbinfrq_t inforeq) char first = tolower(line[0]); if(first > 'a' && first < 'z') { - struct tm tmp_tm = {0}; //initialize to null incase of failure + struct tm tmp_tm = {0}; /* initialize to null in case of failure */ setlocale(LC_TIME, "C"); strptime(line, "%a %b %e %H:%M:%S %Y", &tmp_tm); info->builddate = mktime(&tmp_tm); @@ -505,7 +505,7 @@ int _alpm_db_read(pmdb_t *db, pmpkg_t *info, pmdbinfrq_t inforeq) char first = tolower(line[0]); if(first > 'a' && first < 'z') { - struct tm tmp_tm = {0}; //initialize to null incase of failure + struct tm tmp_tm = {0}; /* initialize to null in case of failure */ setlocale(LC_TIME, "C"); strptime(line, "%a %b %e %H:%M:%S %Y", &tmp_tm); info->installdate = mktime(&tmp_tm); -- cgit v1.2.3-54-g00ecf