[02/15] common/config.h: declaration of config_option as struct
diff mbox

Message ID 1360266123-28972-3-git-send-email-danny.al-gaaf@bisect.de
State New, archived
Headers show

Commit Message

Danny Al-Gaaf Feb. 7, 2013, 7:41 p.m. UTC
Change declaration of config_option from 'class' to 'struct' since
it's defined as struct and used this way (access members). The declaration
as class doesn't change the behaviour.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
---
 src/common/config.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox

diff --git a/src/common/config.h b/src/common/config.h
index 9bf04fe..cf397bb 100644
--- a/src/common/config.h
+++ b/src/common/config.h
@@ -33,7 +33,7 @@  extern struct ceph_file_layout g_default_file_layout;
 #define OSD_REP_SPLAY   1
 #define OSD_REP_CHAIN   2
 
-class config_option;
+struct config_option;
 class CephContext;
 
 extern const char *CEPH_CONF_FILE_DEFAULT;