summaryrefslogtreecommitdiffstats
path: root/libexec/ypxfr/ypxfrd_getmap.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/ypxfrd_getmap.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/ypxfrd_getmap.c')
-rw-r--r--libexec/ypxfr/ypxfrd_getmap.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/libexec/ypxfr/ypxfrd_getmap.c b/libexec/ypxfr/ypxfrd_getmap.c
index 3844beb..1ac2df4 100644
--- a/libexec/ypxfr/ypxfrd_getmap.c
+++ b/libexec/ypxfr/ypxfrd_getmap.c
@@ -28,28 +28,27 @@
* 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 <errno.h>
#include <stdlib.h>
-#include <unistd.h>
#include <string.h>
-#include <sys/types.h>
#include <time.h>
+#include <unistd.h>
#include <rpcsvc/ypxfrd.h>
#include <rpcsvc/yp.h>
#include <rpc/rpc.h>
#include <sys/uio.h>
#include <sys/fcntl.h>
#include <sys/stat.h>
-#include <errno.h>
+#include <sys/types.h>
#include "ypxfr_extern.h"
-#ifndef lint
-static const char rcsid[] = "$Id$";
-#endif
-
int fp = 0;
static bool_t xdr_my_xfr(register XDR *xdrs, xfr *objp)
OpenPOWER on IntegriCloud