blockdev: Give drives internal linkage

This is the list of drives defined with drive_init().  Hide it, so it
doesn't get abused.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
Markus Armbruster 2010-06-02 18:55:22 +02:00 committed by Kevin Wolf
parent dbc13590f6
commit c9b62a7ee1
2 changed files with 1 additions and 3 deletions

View file

@ -15,7 +15,7 @@
#include "qemu-config.h"
#include "sysemu.h"
struct drivelist drives = QTAILQ_HEAD_INITIALIZER(drives);
static QTAILQ_HEAD(drivelist, DriveInfo) drives = QTAILQ_HEAD_INITIALIZER(drives);
QemuOpts *drive_add(const char *file, const char *fmt, ...)
{