[PATCH] Replace 'pointer' with the equivalent 'void *'.

Keith Packard keithp at keithp.com
Sun Jan 19 16:52:28 PST 2014


Gaetan Nadon <memsize at videotron.ca> writes:

> On 14-01-19 04:01 PM, Keith Packard wrote:
>> The pointer typedef is being removed because it causes so many
>> compiler warnings when -Wshadow is enabled.
>>
>> Signed-off-by: Keith Packard <keithp at keithp.com>
>> ---
>>  fontproto.h  |  2 +-
>>  fontstruct.h | 36 ++++++++++++++++++------------------
>>  2 files changed, 19 insertions(+), 19 deletions(-)
>
> Code changes are ok, but patch does not apply. Looks like lines are offset.
>
>     Applied patch fontproto.h cleanly.
>     Applying patch fontstruct.h with 2 rejects...
>     Hunk #1 applied cleanly.
>     Rejected hunk #2.
>     Rejected hunk #3.
>
> I am on master branch top commit  d84789dc33

Right, this patch is on top of a previous fontsproto patch which also
has not been applied. That one allowed paths and patterns to be declared
const. I'll attach that here; the pointer patch comes after this one.

So many patches...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Allow-paths-and-patterns-to-be-const.patch
Type: text/x-diff
Size: 2779 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20140119/d6478b17/attachment.patch>
-------------- next part --------------

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20140119/d6478b17/attachment.pgp>


More information about the xorg-devel mailing list