diff --git a/usr.bin/tsort/tsort.c b/usr.bin/tsort/tsort.c index 259eb4c4be5..a01a86c3700 100644 --- a/usr.bin/tsort/tsort.c +++ b/usr.bin/tsort/tsort.c @@ -32,8 +32,6 @@ * 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. - * - * $FreeBSD$ */ #ifndef lint @@ -46,6 +44,9 @@ static const char copyright[] = static const char sccsid[] = "@(#)tsort.c 8.3 (Berkeley) 5/4/95"; #endif /* not lint */ +#include +__FBSDID("$FreeBSD$"); + #include #include @@ -121,6 +122,7 @@ main(int argc, char *argv[]) int bsize, ch, nused; BUF bufs[2]; + fp = NULL; while ((ch = getopt(argc, argv, "dlq")) != -1) switch (ch) { case 'd':