login-utils: add header file guards [lgtm scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
e0bea4dfa8
commit
b04f7d0e01
|
@ -7,7 +7,11 @@
|
|||
* there is no warranty.
|
||||
*
|
||||
*/
|
||||
#ifndef UTIL_LINUX_LOGIN_AUTH_H
|
||||
#define UTIL_LINUX_LOGIN_AUTH_H
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
extern int auth_pam(const char *service_name, uid_t uid, const char *username);
|
||||
|
||||
#endif /* UTIL_LINUX_LOGIN_AUTH_H */
|
||||
|
|
|
@ -1 +1,6 @@
|
|||
#ifndef UTIL_LINUX_LOGIN_ISLOCAL_H
|
||||
#define UTIL_LINUX_LOGIN_ISLOCAL_H
|
||||
|
||||
extern int is_local(const char *user);
|
||||
|
||||
#endif /* UTIL_LINUX_LOGIN_ISLOCAL_H */
|
||||
|
|
|
@ -7,8 +7,12 @@
|
|||
* there is no warranty.
|
||||
*
|
||||
*/
|
||||
#ifndef UTIL_LINUX_LOGIN_LIBUSER_H
|
||||
#define UTIL_LINUX_LOGIN_LIBUSER_H
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
extern int set_value_libuser(const char *service_name, const char *username,
|
||||
uid_t uid, const char *attr, const char *val);
|
||||
|
||||
#endif /* UTIL_LINUX_LOGIN_LIBUSER_H */
|
||||
|
|
Loading…
Reference in New Issue