summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>2005-05-29 15:47:31 +0000
committercharnier <charnier@FreeBSD.org>2005-05-29 15:47:31 +0000
commit3d484d1c7a9822202f9f9ce61ea36e1b95114bdf (patch)
tree71f047d41d42c0ae29065734b3b6055a50281700 /usr.bin
parent90df580ec3259ce213061a19125c9a3c993d7b3d (diff)
downloadFreeBSD-src-3d484d1c7a9822202f9f9ce61ea36e1b95114bdf.zip
FreeBSD-src-3d484d1c7a9822202f9f9ce61ea36e1b95114bdf.tar.gz
Move FreeBSD Id outside of copyright. Initialize variable.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/tsort/tsort.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/tsort/tsort.c b/usr.bin/tsort/tsort.c
index 259eb4c..a01a86c 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 <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <sys/types.h>
#include <ctype.h>
@@ -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':
OpenPOWER on IntegriCloud