]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Move struct pidfh definition into pidfile.c, and leave a forward declaration
authorGuy Helmer <ghelmer@FreeBSD.org>
Thu, 12 Jan 2012 22:49:36 +0000 (22:49 +0000)
committerGuy Helmer <ghelmer@FreeBSD.org>
Thu, 12 Jan 2012 22:49:36 +0000 (22:49 +0000)
commit47b3924be01208bd053c269fa4f52f9dc79035b7
treea131a6a05d5b1afd59f8121114498f38af9cf35f
parent82b6bd7d0e2e74463babc30523dc0e6521e195d7
Move struct pidfh definition into pidfile.c, and leave a forward declaration
for pidfh in libutil.h in its place.
This allows us to hide the contents of the pidfh structure, and also
allowed removal of the "#ifdef _SYS_PARAM_H" guard from around the
pidfile_* function prototypes.

Suggested by pjd.
lib/libutil/libutil.h
lib/libutil/pidfile.c