1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-23 17:34:00 +03:00

basic: Give architecure enum a name

This commit is contained in:
Daan De Meyer 2021-11-23 17:22:18 +01:00
parent 91ee7c5ebd
commit b998ff21e1

View File

@ -10,7 +10,7 @@
* processor features, models, generations or even ABIs. Hence we * processor features, models, generations or even ABIs. Hence we
* focus on general family, and distinguish word width and endianness. */ * focus on general family, and distinguish word width and endianness. */
enum { typedef enum {
ARCHITECTURE_ALPHA, ARCHITECTURE_ALPHA,
ARCHITECTURE_ARC, ARCHITECTURE_ARC,
ARCHITECTURE_ARC_BE, ARCHITECTURE_ARC_BE,
@ -45,7 +45,7 @@ enum {
ARCHITECTURE_X86_64, ARCHITECTURE_X86_64,
_ARCHITECTURE_MAX, _ARCHITECTURE_MAX,
_ARCHITECTURE_INVALID = -EINVAL, _ARCHITECTURE_INVALID = -EINVAL,
}; } Architecture;
int uname_architecture(void); int uname_architecture(void);