Skip to contentSkip to conversation

master - cleanup: add 'static' for local struct

PATCH Zdenek Kabelac 1 participant 1 message Nov 3, 2016

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=28b210f4fa10ef5e9baf4e28a891460eb65eb602
Commit:        28b210f4fa10ef5e9baf4e28a891460eb65eb602
Parent:        1db4b81d5a1e7c85ab5928c9f6a62ec9565885df
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Wed Nov 2 14:26:41 2016 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Thu Nov 3 12:43:09 2016 +0100

cleanup: add 'static' for local struct

---
 lib/log/log.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
lib/log/log.c +1 -1
index 2207c7e..f9d5649 100644
@@ -67,7 +67,7 @@ struct log_stream_item {
 	char *buffer;
 };
 
-struct log_stream {
+static struct log_stream {
 	struct log_stream_item out;
 	struct log_stream_item err;
 	struct log_stream_item report;