-/* $OpenBSD: cdio.c,v 1.79 2020/06/26 19:51:14 naddy Exp $ */
+/* $OpenBSD: cdio.c,v 1.80 2021/01/18 00:44:00 mortimer Exp $ */
/* Copyright (c) 1995 Serge V. Vakulenko
* All rights reserved.
struct cd_toc_entry *toc_buffer;
+struct track_head tracks;
+
char *cdname;
int fd = -1;
int writeperm = 0;
-/* $OpenBSD: extern.h,v 1.15 2010/03/01 02:09:44 krw Exp $ */
+/* $OpenBSD: extern.h,v 1.16 2021/01/18 00:44:00 mortimer Exp $ */
/*
* Copyright (c) 2002 Marc Espie.
*
char type;
int speed;
};
-SLIST_HEAD(track_head, track_info) tracks;
+SLIST_HEAD(track_head, track_info);
+extern struct track_head tracks;
/* Read/Write speed */
#define DRIVE_SPEED_MAX 0xfffe