]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
common/config.h: declaration of config_option as struct
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Wed, 6 Feb 2013 15:03:09 +0000 (16:03 +0100)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Mon, 11 Feb 2013 10:38:01 +0000 (11:38 +0100)
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

index 9bf04fed8a04d19528da59eecc16752bbe275bce..cf397bbe53e38055169c68765c889c9a7a007534 100644 (file)
@@ -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;