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)
Mon, Dec 2, 12:12 PM
Unknown Object (File)
Tue, Nov 19, 5:56 AM
Unknown Object (File)
Nov 1 2024, 6:37 PM
Unknown Object (File)
Oct 18 2024, 6:05 AM
Unknown Object (File)
Oct 1 2024, 1:31 PM
Unknown Object (File)
Oct 1 2024, 11:21 AM
Unknown Object (File)
Sep 17 2024, 5:38 AM
Unknown Object (File)
Sep 15 2024, 11:18 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