X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=plugins%2Fsudoers%2Ftoke.h;h=002f8fbd6d7feef7b7b22b9e509f5846654d1e5f;hb=e8db7f6eea9b35527ddd4532affabd18a30549b5;hp=c0ab53fe18413c7043d11cec65ab4b8ef125c138;hpb=98b9fd63cd28a3636a7cd24641b8f497eaadcd50;p=debian%2Fsudo diff --git a/plugins/sudoers/toke.h b/plugins/sudoers/toke.h index c0ab53f..002f8fb 100644 --- a/plugins/sudoers/toke.h +++ b/plugins/sudoers/toke.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011 Todd C. Miller + * Copyright (c) 2011-2013 Todd C. Miller * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -14,8 +14,8 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifndef _SUDO_TOKE_H -#define _SUDO_TOKE_H +#ifndef _SUDOERS_TOKE_H +#define _SUDOERS_TOKE_H bool append(const char *, int); bool fill_args(const char *, int, int); @@ -23,7 +23,7 @@ bool fill_cmnd(const char *, int); bool fill_txt(const char *, int, int); bool ipv6_valid(const char *s); int sudoers_trace_print(const char *msg); -void yyerror(const char *); +void sudoerserror(const char *); #ifndef FLEX_SCANNER extern int (*trace_print)(const char *msg); @@ -39,4 +39,4 @@ extern int (*trace_print)(const char *msg); (*trace_print)(msg); \ } while (0); -#endif /* _SUDO_TOKE_H */ +#endif /* _SUDOERS_TOKE_H */