On Fri, Mar 19, 2010 at 15:39:07 -0500, Jeff Smith wrote:

> Signed-off-by: Jeff Smith <[email protected]>
> ---
>  src/xlibi18n/lcFile.c |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)
> 
> diff --git a/src/xlibi18n/lcFile.c b/src/xlibi18n/lcFile.c
> index 21a546d..9ee90ea 100644
> --- a/src/xlibi18n/lcFile.c
> +++ b/src/xlibi18n/lcFile.c
> @@ -34,6 +34,11 @@
>  #include <X11/Xos.h>
>  #include <unistd.h>
>  
> +void xlocaledir(
> +    char *buf,
> +    int buf_len
> +);
> +

The warning is a sign that this function should have a prototype in a
header file, so it isn't duplicated with its definition in
src/xlibi18n/lcFile.c and use in modules/im/ximcp/imLcPrs.c.  Silencing
it by adding yet another copy of the prototype doesn't help, IMO.

Cheers,
Julien

Attachment: signature.asc
Description: Digital signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to