/
githubmirror
/
rpm
Обзор
Документация
Войти
/
githubmirror
/
rpm
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tools/cliutils.hh
25 строк
463 B
Panu Matilainen
Drop leftover C extern guard from internal cliutils header
27 мар 2025, 12:34
27 мар 2025, 12:34
5ec107c
Код
Авторство
О чём код?
#ifndef _CLIUTIL_H #define _CLIUTIL_H /** \file cliutils.h * * Misc helpers for RPM CLI tools */ #include <stdio.h> #include <popt.h> #include <rpm/rpmutil.h> /* "normalized" exit: avoid overflowing and xargs special value 255 */ #define RETVAL(rc) (((rc) > 254) ? 254 : (rc)) RPM_GNUC_NORETURN void argerror(const char * desc); void printUsage(poptContext con, FILE * fp, int flags); int initPipe(void); int finishPipe(void); #endif /* _CLIUTIL_H */