Thread: Re: further #include cleanup (IWYU)

Re: further #include cleanup (IWYU)

From
Alvaro Herrera
Date:
On 2024-Oct-20, Peter Eisentraut wrote:

> diff --git a/contrib/tablefunc/tablefunc.h b/contrib/tablefunc/tablefunc.h
> index 2009382ce7d..b78030044b5 100644
> --- a/contrib/tablefunc/tablefunc.h
> +++ b/contrib/tablefunc/tablefunc.h
> @@ -34,6 +34,4 @@
>  #ifndef TABLEFUNC_H
>  #define TABLEFUNC_H
>  
> -#include "fmgr.h"
> -
>  #endif                            /* TABLEFUNC_H */

You could as well just delete this file.

-- 
Álvaro Herrera         PostgreSQL Developer  —  https://www.EnterpriseDB.com/



Re: further #include cleanup (IWYU)

From
Peter Eisentraut
Date:
On 20.10.24 11:37, Alvaro Herrera wrote:
> On 2024-Oct-20, Peter Eisentraut wrote:
> 
>> diff --git a/contrib/tablefunc/tablefunc.h b/contrib/tablefunc/tablefunc.h
>> index 2009382ce7d..b78030044b5 100644
>> --- a/contrib/tablefunc/tablefunc.h
>> +++ b/contrib/tablefunc/tablefunc.h
>> @@ -34,6 +34,4 @@
>>   #ifndef TABLEFUNC_H
>>   #define TABLEFUNC_H
>>   
>> -#include "fmgr.h"
>> -
>>   #endif                            /* TABLEFUNC_H */
> 
> You could as well just delete this file.

I have committed it with the file deleted.