emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change to process.c


From: Andreas Schwab
Subject: Re: Change to process.c
Date: Sun, 22 May 2005 11:50:10 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux)

Andreas Schwab <address@hidden> writes:

> Nick Roberts <address@hidden> writes:
>
>> gcc -c -D_BSD_SOURCE   -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. 
>> -I/home/nick/emacs/src -D_BSD_SOURCE -I/usr/X11R6/include -g3 process.c
>> process.c: In function `send_process':
>> process.c:5295: warning: assignment from incompatible pointer type
>> process.c:5304: warning: passing arg 2 of `sys_signal' from incompatible 
>> pointer type
>> process.c:5323: warning: passing arg 2 of `sys_signal' from incompatible 
>> pointer type
>> process.c:5404: warning: passing arg 2 of `sys_signal' from incompatible 
>> pointer type
>
> This was a misplaced volatile.  It's not needed here in the first place,
> so I removed it.

Looking closer, the volatile _is_ needed.  But it needs to be placed at
the right side of the asterisk.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]