aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ClientPattern.cc5
-rw-r--r--src/FbTk/Font.cc4
-rw-r--r--src/FbTk/I18n.cc5
-rw-r--r--src/FbTk/ImageControl.cc5
-rw-r--r--src/FbTk/Menu.cc5
-rw-r--r--src/FbTk/RegExp.cc5
-rw-r--r--src/FbTk/Timer.cc5
-rw-r--r--src/FbTk/XmbFontImp.cc4
-rw-r--r--src/Remember.cc5
-rw-r--r--src/Screen.cc5
-rw-r--r--src/Slit.cc5
-rw-r--r--src/Toolbar.cc5
-rw-r--r--src/Window.cc5
-rw-r--r--src/Workspace.cc5
-rw-r--r--src/fluxbox.cc5
-rw-r--r--src/main.cc5
-rw-r--r--src/tests/Resourcetest.cc5
-rw-r--r--src/tests/StringUtiltest.cc3
18 files changed, 0 insertions, 86 deletions
diff --git a/src/ClientPattern.cc b/src/ClientPattern.cc
index f57513d..696e70e 100644
--- a/src/ClientPattern.cc
+++ b/src/ClientPattern.cc
@@ -34,11 +34,6 @@
34#include "FbTk/stringstream.hh" 34#include "FbTk/stringstream.hh"
35#include "FbTk/STLUtil.hh" 35#include "FbTk/STLUtil.hh"
36 36
37// use GNU extensions
38#ifndef _GNU_SOURCE
39#define _GNU_SOURCE
40#endif // _GNU_SOURCE
41
42#include <fstream> 37#include <fstream>
43#include <string> 38#include <string>
44#include <memory> 39#include <memory>
diff --git a/src/FbTk/Font.cc b/src/FbTk/Font.cc
index 5987134..46a6b46 100644
--- a/src/FbTk/Font.cc
+++ b/src/FbTk/Font.cc
@@ -39,10 +39,6 @@
39#include "XFontImp.hh" 39#include "XFontImp.hh"
40 40
41#include "GContext.hh" 41#include "GContext.hh"
42//use gnu extensions
43#ifndef _GNU_SOURCE
44#define _GNU_SOURCE
45#endif //_GNU_SOURCE
46 42
47#ifndef __USE_GNU 43#ifndef __USE_GNU
48#define __USE_GNU 44#define __USE_GNU
diff --git a/src/FbTk/I18n.cc b/src/FbTk/I18n.cc
index 3daa2e9..a7ed338 100644
--- a/src/FbTk/I18n.cc
+++ b/src/FbTk/I18n.cc
@@ -30,11 +30,6 @@
30 * http://www.kulichki.com/moshkow/CYRILLIC/locale-tutorial-0_8.txt 30 * http://www.kulichki.com/moshkow/CYRILLIC/locale-tutorial-0_8.txt
31 */ 31 */
32 32
33//use GNU extensions
34#ifndef _GNU_SOURCE
35#define _GNU_SOURCE
36#endif // _GNU_SOURCE
37
38#include "I18n.hh" 33#include "I18n.hh"
39#include "FileUtil.hh" 34#include "FileUtil.hh"
40 35
diff --git a/src/FbTk/ImageControl.cc b/src/FbTk/ImageControl.cc
index 8b5f23d..0693150 100644
--- a/src/FbTk/ImageControl.cc
+++ b/src/FbTk/ImageControl.cc
@@ -30,11 +30,6 @@
30#include "SimpleCommand.hh" 30#include "SimpleCommand.hh"
31#include "I18n.hh" 31#include "I18n.hh"
32 32
33//use GNU extensions
34#ifndef _GNU_SOURCE
35#define _GNU_SOURCE
36#endif // _GNU_SOURCE
37
38#ifdef HAVE_SYS_TYPES_H 33#ifdef HAVE_SYS_TYPES_H
39#include <sys/types.h> 34#include <sys/types.h>
40#endif // HAVE_SYS_TYPES_H 35#endif // HAVE_SYS_TYPES_H
diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc
index 3e3481f..cb58685 100644
--- a/src/FbTk/Menu.cc
+++ b/src/FbTk/Menu.cc
@@ -22,11 +22,6 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25//use GNU extensions
26#ifndef _GNU_SOURCE
27#define _GNU_SOURCE
28#endif // _GNU_SOURCE
29
30#include "Menu.hh" 25#include "Menu.hh"
31 26
32#include "MenuItem.hh" 27#include "MenuItem.hh"
diff --git a/src/FbTk/RegExp.cc b/src/FbTk/RegExp.cc
index 3467971..b358eeb 100644
--- a/src/FbTk/RegExp.cc
+++ b/src/FbTk/RegExp.cc
@@ -22,11 +22,6 @@
22 22
23#include "RegExp.hh" 23#include "RegExp.hh"
24 24
25//use GNU extensions
26#ifndef _GNU_SOURCE
27#define _GNU_SOURCE
28#endif // _GNU_SOURCE
29
30#include <iostream> 25#include <iostream>
31 26
32using std::string; 27using std::string;
diff --git a/src/FbTk/Timer.cc b/src/FbTk/Timer.cc
index 7f7977e..1806557 100644
--- a/src/FbTk/Timer.cc
+++ b/src/FbTk/Timer.cc
@@ -27,11 +27,6 @@
27#include "CommandParser.hh" 27#include "CommandParser.hh"
28#include "StringUtil.hh" 28#include "StringUtil.hh"
29 29
30//use GNU extensions
31#ifndef _GNU_SOURCE
32#define _GNU_SOURCE
33#endif // _GNU_SOURCE
34
35#ifdef HAVE_CASSERT 30#ifdef HAVE_CASSERT
36 #include <cassert> 31 #include <cassert>
37#else 32#else
diff --git a/src/FbTk/XmbFontImp.cc b/src/FbTk/XmbFontImp.cc
index 6370d86..e73670c 100644
--- a/src/FbTk/XmbFontImp.cc
+++ b/src/FbTk/XmbFontImp.cc
@@ -31,10 +31,6 @@
31#include <locale.h> 31#include <locale.h>
32#endif // HAVE_SETLOCALE 32#endif // HAVE_SETLOCALE
33 33
34#ifndef _GNU_SOURCE
35#define _GNU_SOURCE
36#endif // _GNU_SOURCE
37
38#ifdef HAVE_CSTDIO 34#ifdef HAVE_CSTDIO
39 #include <cstdio> 35 #include <cstdio>
40#else 36#else
diff --git a/src/Remember.cc b/src/Remember.cc
index 9b1233e..3ca8fcf 100644
--- a/src/Remember.cc
+++ b/src/Remember.cc
@@ -49,11 +49,6 @@
49 #include <string.h> 49 #include <string.h>
50#endif 50#endif
51 51
52//use GNU extensions
53#ifndef _GNU_SOURCE
54#define _GNU_SOURCE
55#endif // _GNU_SOURCE
56
57#include <set> 52#include <set>
58 53
59 54
diff --git a/src/Screen.cc b/src/Screen.cc
index 9bf8e40..05d274a 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -77,11 +77,6 @@
77#include "FbTk/KeyUtil.hh" 77#include "FbTk/KeyUtil.hh"
78#include "FbTk/Util.hh" 78#include "FbTk/Util.hh"
79 79
80//use GNU extensions
81#ifndef _GNU_SOURCE
82#define _GNU_SOURCE
83#endif // _GNU_SOURCE
84
85#ifdef USE_SLIT 80#ifdef USE_SLIT
86#include "Slit.hh" 81#include "Slit.hh"
87#include "SlitClient.hh" 82#include "SlitClient.hh"
diff --git a/src/Slit.cc b/src/Slit.cc
index 47cd11f..9eaa439 100644
--- a/src/Slit.cc
+++ b/src/Slit.cc
@@ -24,11 +24,6 @@
24 24
25#include "Slit.hh" 25#include "Slit.hh"
26 26
27//use GNU extensions
28#ifndef _GNU_SOURCE
29#define _GNU_SOURCE
30#endif // _GNU_SOURCE
31
32#include "Screen.hh" 27#include "Screen.hh"
33#include "ScreenPlacement.hh" 28#include "ScreenPlacement.hh"
34#include "FbTk/ImageControl.hh" 29#include "FbTk/ImageControl.hh"
diff --git a/src/Toolbar.cc b/src/Toolbar.cc
index 775bf39..c65e9ca 100644
--- a/src/Toolbar.cc
+++ b/src/Toolbar.cc
@@ -55,11 +55,6 @@
55#include "FbTk/STLUtil.hh" 55#include "FbTk/STLUtil.hh"
56#include "FbTk/Util.hh" 56#include "FbTk/Util.hh"
57 57
58// use GNU extensions
59#ifndef _GNU_SOURCE
60#define _GNU_SOURCE
61#endif // _GNU_SOURCE
62
63#include <X11/Xutil.h> 58#include <X11/Xutil.h>
64#include <X11/keysym.h> 59#include <X11/keysym.h>
65 60
diff --git a/src/Window.cc b/src/Window.cc
index 4c81124..98199c7 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -59,11 +59,6 @@
59#include <X11/extensions/shape.h> 59#include <X11/extensions/shape.h>
60#endif // SHAPE 60#endif // SHAPE
61 61
62//use GNU extensions
63#ifndef _GNU_SOURCE
64#define _GNU_SOURCE
65#endif // _GNU_SOURCE
66
67#include <X11/Xatom.h> 62#include <X11/Xatom.h>
68#include <X11/keysym.h> 63#include <X11/keysym.h>
69 64
diff --git a/src/Workspace.cc b/src/Workspace.cc
index 6a721cb..bf2aea3 100644
--- a/src/Workspace.cc
+++ b/src/Workspace.cc
@@ -36,11 +36,6 @@
36#include "FbTk/FbString.hh" 36#include "FbTk/FbString.hh"
37#include "FbTk/MemFun.hh" 37#include "FbTk/MemFun.hh"
38 38
39// use GNU extensions
40#ifndef _GNU_SOURCE
41#define _GNU_SOURCE
42#endif // _GNU_SOURCE
43
44#include <X11/Xlib.h> 39#include <X11/Xlib.h>
45#include <X11/Xatom.h> 40#include <X11/Xatom.h>
46 41
diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index cec46eb..015bb62 100644
--- a/src/fluxbox.cc
+++ b/src/fluxbox.cc
@@ -57,11 +57,6 @@
57#include "FbTk/KeyUtil.hh" 57#include "FbTk/KeyUtil.hh"
58#include "FbTk/MemFun.hh" 58#include "FbTk/MemFun.hh"
59 59
60//Use GNU extensions
61#ifndef _GNU_SOURCE
62#define _GNU_SOURCE
63#endif // _GNU_SOURCE
64
65#ifdef USE_EWMH 60#ifdef USE_EWMH
66#include "Ewmh.hh" 61#include "Ewmh.hh"
67#endif // USE_EWMH 62#endif // USE_EWMH
diff --git a/src/main.cc b/src/main.cc
index bcd31db..03eea04 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -32,11 +32,6 @@
32#include "FbTk/FileUtil.hh" 32#include "FbTk/FileUtil.hh"
33#include "FbTk/StringUtil.hh" 33#include "FbTk/StringUtil.hh"
34 34
35//use GNU extensions
36#ifndef _GNU_SOURCE
37#define _GNU_SOURCE
38#endif // _GNU_SOURCE
39
40#ifdef HAVE_CSTDLIB 35#ifdef HAVE_CSTDLIB
41 #include <cstdlib> 36 #include <cstdlib>
42#else 37#else
diff --git a/src/tests/Resourcetest.cc b/src/tests/Resourcetest.cc
index 53b5ec4..a1df8d9 100644
--- a/src/tests/Resourcetest.cc
+++ b/src/tests/Resourcetest.cc
@@ -21,11 +21,6 @@
21 21
22#include "Resource.hh" 22#include "Resource.hh"
23 23
24//use of strcasecmp
25#ifndef _GNU_SOURCE
26#define _GNU_SOURCE
27#endif // _GNU_SOURCE
28
29#include <string> 24#include <string>
30#include <iostream> 25#include <iostream>
31#ifdef HAVE_CSTDIO 26#ifdef HAVE_CSTDIO
diff --git a/src/tests/StringUtiltest.cc b/src/tests/StringUtiltest.cc
index e5e8419..05bfde9 100644
--- a/src/tests/StringUtiltest.cc
+++ b/src/tests/StringUtiltest.cc
@@ -20,9 +20,6 @@
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22#include "FbTk/StringUtil.hh" 22#include "FbTk/StringUtil.hh"
23#ifndef _GNU_SOURCE
24#define _GNU_SOURCE
25#endif //_GNU_SOURCE
26 23
27#include <cstring> 24#include <cstring>
28#include <cstdlib> 25#include <cstdlib>