[PATCH] xfree86: Remove unused parsePrologueVoid Signed-off-by: Jesse Adkins <jesserayadkins at gmail.com>
Peter Hutterer
peter.hutterer at who-t.net
Sun Aug 1 21:05:41 PDT 2010
On Sun, Aug 01, 2010 at 04:01:29PM -0700, Jesse Adkins wrote:
> ---
> hw/xfree86/parser/Configint.h | 3 ---
> 1 files changed, 0 insertions(+), 3 deletions(-)
>
> diff --git a/hw/xfree86/parser/Configint.h b/hw/xfree86/parser/Configint.h
> index f9d6166..d34e491 100644
> --- a/hw/xfree86/parser/Configint.h
> +++ b/hw/xfree86/parser/Configint.h
> @@ -98,9 +98,6 @@ LexRec, *LexPtr;
> #define parsePrologue(typeptr,typerec) typeptr ptr; \
> if( (ptr=calloc(1,sizeof(typerec))) == NULL ) { return NULL; }
>
> -#define parsePrologueVoid(typeptr,typerec) int token; typeptr ptr; \
> -if( (ptr=calloc(1,sizeof(typerec))) == NULL ) { return; }
> -
> #define HANDLE_RETURN(f,func)\
> if ((ptr->f=func) == NULL)\
> {\
> --
> 1.7.0.4
Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>
(commit message though, just a reminder ;)
Cheers,
Peter
More information about the xorg-devel
mailing list