mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-06 05:44:11 +01:00
Remove warnings
* Remove assigned but not used variables (GCC 4.6) * Bump _XOPEN_SOURCE to 600, ridding of FreeBSD warnings (this probably need to be tweaked on a per-implementation basis as problems arise)
This commit is contained in:
committed by
Carlos R. Mafra
parent
43c7abe79f
commit
f65b99e615
@@ -20,12 +20,6 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#if __GLIBC__ && \
|
||||
(_XOPEN_SOURCE && _XOPEN_SOURCE < 500) || \
|
||||
!_XOPEN_SOURCE
|
||||
#define _XOPEN_SOURCE 500 /* nftw */
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user