X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=bus%2Fconfig-parser-common.c;h=c522ff49f75402db6dbb91fe4ddb64c45b3308d9;hb=0aedffae9a13211c01dadb6d991cb3522e09a9c7;hp=5cdbba2677381d85ffe531e37b9100b834182199;hpb=f322112b84bef5f6e7c38c08e99a28c4f576c897;p=platform%2Fupstream%2Fdbus.git diff --git a/bus/config-parser-common.c b/bus/config-parser-common.c index 5cdbba2..c522ff4 100644 --- a/bus/config-parser-common.c +++ b/bus/config-parser-common.c @@ -17,10 +17,11 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * */ +#include #include #include @@ -48,7 +49,7 @@ bus_config_parser_element_name_to_type (const char *name) } else if (strcmp (name, "type") == 0) { - return ELEMENT_TYPE; + return ELEMENT_CONFIGTYPE; } else if (strcmp (name, "fork") == 0) { @@ -168,7 +169,7 @@ bus_config_parser_element_type_to_name (ElementType type) return "servicehelper"; case ELEMENT_INCLUDEDIR: return "includedir"; - case ELEMENT_TYPE: + case ELEMENT_CONFIGTYPE: return "type"; case ELEMENT_SELINUX: return "selinux";