Procházet zdrojové kódy

libdpkg: Rename arch_type enum to dpkg_arch_type

Guillem Jover před 14 roky
rodič
revize
31f89e02c6
2 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 2 2
      lib/dpkg/arch.c
  2. 1 1
      lib/dpkg/arch.h

+ 2 - 2
lib/dpkg/arch.c

@@ -93,7 +93,7 @@ static struct dpkg_arch arch_item_native = {
 static struct dpkg_arch *arch_list = &arch_item_native;
 
 static struct dpkg_arch *
-dpkg_arch_new(const char *name, enum arch_type type)
+dpkg_arch_new(const char *name, enum dpkg_arch_type type)
 {
 	struct dpkg_arch *new;
 
@@ -119,7 +119,7 @@ struct dpkg_arch *
 dpkg_arch_find(const char *name)
 {
 	struct dpkg_arch *arch, *last_arch = NULL;
-	enum arch_type type;
+	enum dpkg_arch_type type;
 
 	if (name == NULL || name[0] == '\0')
 		return &arch_item_none;

+ 1 - 1
lib/dpkg/arch.h

@@ -30,7 +30,7 @@ DPKG_BEGIN_DECLS
 struct dpkg_arch {
 	struct dpkg_arch *next;
 	const char *name;
-	enum arch_type {
+	enum dpkg_arch_type {
 		arch_none,
 		arch_all,
 		arch_native,