mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +03:00
basic: Give architecure enum a name
This commit is contained in:
parent
91ee7c5ebd
commit
b998ff21e1
@ -10,7 +10,7 @@
|
||||
* processor features, models, generations or even ABIs. Hence we
|
||||
* focus on general family, and distinguish word width and endianness. */
|
||||
|
||||
enum {
|
||||
typedef enum {
|
||||
ARCHITECTURE_ALPHA,
|
||||
ARCHITECTURE_ARC,
|
||||
ARCHITECTURE_ARC_BE,
|
||||
@ -45,7 +45,7 @@ enum {
|
||||
ARCHITECTURE_X86_64,
|
||||
_ARCHITECTURE_MAX,
|
||||
_ARCHITECTURE_INVALID = -EINVAL,
|
||||
};
|
||||
} Architecture;
|
||||
|
||||
int uname_architecture(void);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user