2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 14:25:15 +00:00

Avoid using a leading underbar in defines as they are reserved in

ISO C.
This commit is contained in:
Todd C. Miller
2015-05-21 11:13:20 -06:00
parent 1298ea9107
commit 05a01d4c5d
60 changed files with 202 additions and 202 deletions

View File

@@ -14,8 +14,8 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#ifndef _SUDOERS_PWUTIL_H
#define _SUDOERS_PWUTIL_H
#ifndef SUDOERS_PWUTIL_H
#define SUDOERS_PWUTIL_H
#define ptr_to_item(p) ((struct cache_item *)((char *)p - offsetof(struct cache_item_##p, p)))
@@ -62,4 +62,4 @@ struct cache_item *sudo_make_gritem(gid_t gid, const char *group);
struct cache_item *sudo_make_grlist_item(const struct passwd *pw, char * const *groups, char * const *gids);
struct cache_item *sudo_make_pwitem(uid_t uid, const char *user);
#endif /* _SUDOERS_PWUTIL_H */
#endif /* SUDOERS_PWUTIL_H */