[systemd-devel] [PATCH] core: Remove unnecessary typedef

2013-04-17 Thread Henrik Grindal Bakken
ExecContext isn't used in this header file, and everything seems to build just fine without this typedef. The typedef doesn't really belong here, and at least my gcc-4.4.6 gives an error on type redefined. --- src/core/namespace.h |2 -- 1 file changed, 2 deletions(-) diff --git

Re: [systemd-devel] [PATCH] core: Remove unnecessary typedef

2013-04-17 Thread Kay Sievers
On Wed, Apr 17, 2013 at 6:08 PM, Henrik Grindal Bakken h...@ifi.uio.no wrote: ExecContext isn't used in this header file, and everything seems to build just fine without this typedef. The typedef doesn't really belong here, and at least my gcc-4.4.6 gives an error on type redefined. Weird,

Re: [systemd-devel] [PATCH] core: Remove unnecessary typedef

2013-04-17 Thread Henrik Grindal Bakken
Kay Sievers k...@vrfy.org writes: On Wed, Apr 17, 2013 at 6:08 PM, Henrik Grindal Bakken h...@ifi.uio.no wrote: ExecContext isn't used in this header file, and everything seems to build just fine without this typedef. The typedef doesn't really belong here, and at least my gcc-4.4.6 gives

Re: [systemd-devel] [PATCH] core: Remove unnecessary typedef

2013-04-17 Thread Simon McVittie
On 17/04/13 17:25, Kay Sievers wrote: On Wed, Apr 17, 2013 at 6:08 PM, Henrik Grindal Bakken h...@ifi.uio.no wrote: ExecContext isn't used in this header file, and everything seems to build just fine without this typedef. The typedef doesn't really belong here, and at least my gcc-4.4.6