projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a1ce31
)
Remove redudant check for direct #include gslice.h
author
Ryan Lortie
<desrt@desrt.ca>
Mon, 22 Feb 2010 00:39:33 +0000
(19:39 -0500)
committer
Ryan Lortie
<desrt@desrt.ca>
Mon, 22 Feb 2010 05:35:45 +0000
(
00:35
-0500)
This was added before we had a standardised header check and not removed
when the standard check was added.
glib/gslice.c
patch
|
blob
|
history
glib/gslice.h
patch
|
blob
|
history
diff --git
a/glib/gslice.c
b/glib/gslice.c
index
c73884b
..
66fd9e5
100644
(file)
--- a/
glib/gslice.c
+++ b/
glib/gslice.c
@@
-20,6
+20,8
@@
#include "config.h"
+#include "gslice.h"
+
#if defined HAVE_POSIX_MEMALIGN && defined POSIX_MEMALIGN_WITH_COMPLIANT_ALLOCS
# define HAVE_COMPLIANT_POSIX_MEMALIGN 1
#endif
diff --git
a/glib/gslice.h
b/glib/gslice.h
index
f9cc644
..
962199e
100644
(file)
--- a/
glib/gslice.h
+++ b/
glib/gslice.h
@@
-24,10
+24,6
@@
#ifndef __G_SLICE_H__
#define __G_SLICE_H__
-#ifndef __G_MEM_H__
-#error Include <glib.h> instead of <gslice.h>
-#endif
-
#include <glib/gtypes.h>
G_BEGIN_DECLS