celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erjanalt...@apache.org
Subject celix git commit: Extended dm command: limit scope of functions
Date Thu, 08 Mar 2018 20:32:51 GMT
Repository: celix
Updated Branches:
  refs/heads/develop f1dec56a6 -> 2e20c6d5c


Extended dm command: limit scope of functions


Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/2e20c6d5
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/2e20c6d5
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/2e20c6d5

Branch: refs/heads/develop
Commit: 2e20c6d5cd211c03daa805683609279dc9b53f4a
Parents: f1dec56
Author: Erjan Altena <erjanaltena@gmail.com>
Authored: Thu Mar 8 21:32:33 2018 +0100
Committer: Erjan Altena <erjanaltena@gmail.com>
Committed: Thu Mar 8 21:32:33 2018 +0100

----------------------------------------------------------------------
 dependency_manager/src/dm_shell_list_command.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/2e20c6d5/dependency_manager/src/dm_shell_list_command.c
----------------------------------------------------------------------
diff --git a/dependency_manager/src/dm_shell_list_command.c b/dependency_manager/src/dm_shell_list_command.c
index 33e9b49..8eb989c 100644
--- a/dependency_manager/src/dm_shell_list_command.c
+++ b/dependency_manager/src/dm_shell_list_command.c
@@ -84,7 +84,7 @@ static bool is_bundleId_in_list(array_list_pt ids, long id) {
 }
 
 
-void printFullInfo(FILE *out, bool colors, dm_component_info_pt compInfo) {
+static void printFullInfo(FILE *out, bool colors, dm_component_info_pt compInfo) {
     const char *startColors = "";
     const char *endColors = "";
     if (colors) {
@@ -128,7 +128,7 @@ void printFullInfo(FILE *out, bool colors, dm_component_info_pt compInfo)
{
 
 }
 
-void printBasicInfo(FILE *out, bool colors, dm_component_info_pt compInfo) {
+static void printBasicInfo(FILE *out, bool colors, dm_component_info_pt compInfo) {
     const char *startColors = "";
     const char *endColors = "";
     if (colors) {


Mime
View raw message