projects
/
services
/
createrepo_c.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0137b5
)
Refactoring: Make parse_period_of_time() function static
author
Tomas Mlcoch
<tmlcoch@redhat.com>
Tue, 20 Oct 2015 11:46:05 +0000
(13:46 +0200)
committer
Tomas Mlcoch
<tmlcoch@redhat.com>
Tue, 20 Oct 2015 11:46:05 +0000
(13:46 +0200)
src/cmd_parser.c
patch
|
blob
|
history
diff --git
a/src/cmd_parser.c
b/src/cmd_parser.c
index bec76058a600ffe8886c63379fe3e46e2949151b..6569122bfefa91b7d02e015734437b3f370763f5 100644
(file)
--- a/
src/cmd_parser.c
+++ b/
src/cmd_parser.c
@@
-268,7
+268,7
@@
check_and_set_compression_type(const char *type_str,
* @param timeperiod Time period
* @param time Time period converted to gint64 will be stored here
*/
-gboolean
+
static
gboolean
parse_period_of_time(const gchar *timeperiod, gint64 *time, GError **err)
{
assert(!err || *err == NULL);