aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/tsort
diff options
context:
space:
mode:
authorPhilippe Charnier <charnier@FreeBSD.org>2005-05-29 15:47:31 +0000
committerPhilippe Charnier <charnier@FreeBSD.org>2005-05-29 15:47:31 +0000
commit0bf92eb85e59fb93a43b43fcdd8d3914e58d32ef (patch)
tree71f047d41d42c0ae29065734b3b6055a50281700 /usr.bin/tsort
parent905ff382d1e45b6ff12b40db171d556159d0e5ca (diff)
downloadsrc-0bf92eb85e59fb93a43b43fcdd8d3914e58d32ef.tar.gz
src-0bf92eb85e59fb93a43b43fcdd8d3914e58d32ef.zip
Move FreeBSD Id outside of copyright. Initialize variable.
Notes
Notes: svn path=/head/; revision=146751
Diffstat (limited to 'usr.bin/tsort')
-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 259eb4c4be55..a01a86c3700c 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':