/
githubmirror
/
lvm2
Обзор
Документация
Войти
/
githubmirror
/
lvm2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
lib/commands/cmd_enum.h
19 строк
385 B
Zdenek Kabelac
headers: fix reserved include guards globally
11 май 2026, 11:18
11 май 2026, 11:18
b08e99f
Код
Авторство
О чём код?
#ifndef CMD_ENUM_H #define CMD_ENUM_H /* * include/cmds.h is generated by the Makefile. For each command definition * in command-lines.in, cmds.h contains: * cmd(foo_CMD, foo) * * This header adds each of the foo_CMD's into an enum, so there's * a unique integer identifier for each command definition. */ enum { #define cmd(a, b) a , #include "cmds.h" #undef cmd }; #endif