summaryrefslogtreecommitdiffstats
path: root/libexec/ypxfr/yp_dbwrite.c
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>1997-12-08 07:49:56 +0000
committercharnier <charnier@FreeBSD.org>1997-12-08 07:49:56 +0000
commit689d237056a2050716451b53f1b45740d61b4428 (patch)
treed939cafe1574e93270e821824a27a3dbea056e60 /libexec/ypxfr/yp_dbwrite.c
parent9a016c78e25d6e9245274ded345e7fa88cf5a906 (diff)
downloadFreeBSD-src-689d237056a2050716451b53f1b45740d61b4428.zip
FreeBSD-src-689d237056a2050716451b53f1b45740d61b4428.tar.gz
Use full path in synopsis. Sort #includes. Use .Tn for NIS.
Diffstat (limited to 'libexec/ypxfr/yp_dbwrite.c')
-rw-r--r--libexec/ypxfr/yp_dbwrite.c23
1 files changed, 11 insertions, 12 deletions
diff --git a/libexec/ypxfr/yp_dbwrite.c b/libexec/ypxfr/yp_dbwrite.c
index e5ad7fd..c429c27 100644
--- a/libexec/ypxfr/yp_dbwrite.c
+++ b/libexec/ypxfr/yp_dbwrite.c
@@ -28,27 +28,26 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $Id$
- *
*/
+
+#ifndef lint
+static const char rcsid[] =
+ "$Id$";
+#endif /* not lint */
+
+#include <db.h>
+#include <errno.h>
+#include <fcntl.h>
+#include <limits.h>
+#include <paths.h>
#include <stdio.h>
#include <stdlib.h>
-#include <fcntl.h>
#include <string.h>
-#include <limits.h>
#include <unistd.h>
-#include <db.h>
#include <sys/stat.h>
-#include <errno.h>
-#include <paths.h>
#include <rpcsvc/yp.h>
#include "ypxfr_extern.h"
-#ifndef lint
-static const char rcsid[] = "$Id$";
-#endif
-
#define PERM_SECURE (S_IRUSR|S_IWUSR)
/*
OpenPOWER on IntegriCloud