On Thu, Apr 24, 2014 at 10:26:26AM -0700, Gurucharan Shetty wrote:
> On Thu, Apr 24, 2014 at 9:26 AM, Ben Pfaff wrote:
> > On Thu, Apr 24, 2014 at 08:31:04AM -0700, Gurucharan Shetty wrote:
> >> We have some common code between daemon-unix.c and
> >> daemon-windows.c. Move them to daemon.c
> >>
>
On Thu, Apr 24, 2014 at 9:26 AM, Ben Pfaff wrote:
> On Thu, Apr 24, 2014 at 08:31:04AM -0700, Gurucharan Shetty wrote:
>> We have some common code between daemon-unix.c and
>> daemon-windows.c. Move them to daemon.c
>>
>> Signed-off-by: Gurucharan Shetty
>
> "sparse" reports:
>
> ../lib/daemo
On Thu, Apr 24, 2014 at 08:31:04AM -0700, Gurucharan Shetty wrote:
> We have some common code between daemon-unix.c and
> daemon-windows.c. Move them to daemon.c
>
> Signed-off-by: Gurucharan Shetty
"sparse" reports:
../lib/daemon-unix.c:42:6: warning: symbol 'detach' was not declared.
Sho
We have some common code between daemon-unix.c and
daemon-windows.c. Move them to daemon.c
Signed-off-by: Gurucharan Shetty
---
lib/daemon-unix.c| 37 +++--
lib/daemon-windows.c | 40 ++--
lib/daemon.c | 33 +++