bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: sharutils: compilation failure with Sun C on Linux


From: Paul Eggert
Subject: Re: sharutils: compilation failure with Sun C on Linux
Date: Sun, 14 May 2006 23:21:01 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

Bruce Korb <address@hidden> writes:

>  DIR *opendir ();
> -struct dirent *readdir ();
> +#ifndef readdir
> +  /* why is this declared here anyway? */
> +  struct dirent *readdir ();
> +#endif

It's declared there for the benefit of ancient hosts that lacked
"dirent.h".  These days, I think such hosts aren't of any practical
interest, so you can remove those declarations of opendir and readdir.

Similarly for lots of other declarations in sharutils, e.g., localtime.




reply via email to

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