Page MenuHomeFreeBSD

bsdinstall/distfetch: Fix double include
ClosedPublic

Authored by asiciliano on Mar 27 2022, 6:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 7, 6:06 PM
Unknown Object (File)
Mon, May 4, 7:59 PM
Unknown Object (File)
Sun, May 3, 8:33 AM
Unknown Object (File)
Sat, May 2, 10:11 PM
Unknown Object (File)
Thu, Apr 30, 9:50 PM
Unknown Object (File)
Tue, Apr 28, 4:35 PM
Unknown Object (File)
Mon, Apr 27, 1:55 PM
Unknown Object (File)
Sat, Apr 25, 9:42 PM
Subscribers

Details

Summary

#include <sys/param.h>

#include <bsddialog.h>
#include <ctype.h>
#include <err.h>
#include <errno.h>
#include <stdio.h> <----------- GOOD (before fetch.h)
#include <fetch.h>
#include <stdio.h> <------------ BAD, double
#include <stdlib.h>
#include <string.h>
#include <unistd.h>

Test Plan

Trivial

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable