Refactoring: Make parse_period_of_time() function static
authorTomas Mlcoch <tmlcoch@redhat.com>
Tue, 20 Oct 2015 11:46:05 +0000 (13:46 +0200)
committerTomas Mlcoch <tmlcoch@redhat.com>
Tue, 20 Oct 2015 11:46:05 +0000 (13:46 +0200)
src/cmd_parser.c

index bec76058a600ffe8886c63379fe3e46e2949151b..6569122bfefa91b7d02e015734437b3f370763f5 100644 (file)
@@ -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);