mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 06:28:05 +02:00
core: drop unnecessary #if WITH_POLKIT from nm-auth-subject.h
We rely on the linker to throw away unused functions. No need for the #if in this case.
This commit is contained in:
parent
3f969d3b5b
commit
011258a086
2 changed files with 0 additions and 8 deletions
|
|
@ -102,8 +102,6 @@ nm_auth_subject_to_string (NMAuthSubject *self, char *buf, gsize buf_len)
|
|||
return buf;
|
||||
}
|
||||
|
||||
#if WITH_POLKIT
|
||||
|
||||
/* returns a floating variant */
|
||||
GVariant *
|
||||
nm_auth_subject_unix_process_to_polkit_gvariant (NMAuthSubject *self)
|
||||
|
|
@ -125,8 +123,6 @@ nm_auth_subject_unix_process_to_polkit_gvariant (NMAuthSubject *self)
|
|||
return ret;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
NMAuthSubjectType
|
||||
nm_auth_subject_get_subject_type (NMAuthSubject *subject)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -68,10 +68,6 @@ gulong nm_auth_subject_get_unix_process_uid (NMAuthSubject *subject);
|
|||
|
||||
const char *nm_auth_subject_to_string (NMAuthSubject *self, char *buf, gsize buf_len);
|
||||
|
||||
#if WITH_POLKIT
|
||||
|
||||
GVariant * nm_auth_subject_unix_process_to_polkit_gvariant (NMAuthSubject *self);
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* __NETWORKMANAGER_AUTH_SUBJECT_H__ */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue