diff options
author | Guillem Jover <guillem@debian.org> | 2014-06-02 14:48:12 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2014-06-02 14:48:12 +0200 |
commit | dc2edadf0bcb624eafbcd16c92aae7691180f7a4 (patch) | |
tree | e4a4150dd6258a4e5e8f1ade3421e36d5c5a61c5 /src | |
parent | cd852844bc2471834da1b5cba980ec2c62f717ee (diff) | |
download | dpkg-dc2edadf0bcb624eafbcd16c92aae7691180f7a4.tar.gz |
dpkg: Give names to anonymous public enums inside structs
This will help once we move them out of the structs.
Diffstat (limited to 'src')
-rw-r--r-- | src/filesdb.h | 4 | ||||
-rw-r--r-- | src/main.h | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/filesdb.h b/src/filesdb.h index 6be7d8938..80f102ec5 100644 --- a/src/filesdb.h +++ b/src/filesdb.h @@ -3,7 +3,7 @@ * filesdb.h - management of database of files installed on system * * Copyright © 1995 Ian Jackson <ian@chiark.greenend.org.uk> - * Copyright © 2008-2012 Guillem Jover <guillem@debian.org> + * Copyright © 2008-2014 Guillem Jover <guillem@debian.org> * * This is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -75,7 +75,7 @@ struct filenamenode { */ /** Set to zero when a new node is created. */ - enum { + enum filenamenode_flags { /** In the newconffiles list. */ fnnf_new_conff = DPKG_BIT(0), /** In the new filesystem archive. */ diff --git a/src/main.h b/src/main.h index 503d70a40..53f16f529 100644 --- a/src/main.h +++ b/src/main.h @@ -3,6 +3,7 @@ * main.h - external definitions for this program * * Copyright © 1995 Ian Jackson <ian@chiark.greenend.org.uk> + * Copyright © 2006,2008-2014 Guillem Jover <guillem@debian.org> * * This is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -34,7 +35,7 @@ struct perpackagestate { } istobe; /** Used during cycle detection. */ - enum { + enum pkg_cycle_color { white, gray, black, |