From 78aa398e7c09adc4fb9318a4c497e8fd1bcd58ba Mon Sep 17 00:00:00 2001 From: mathieui Date: Thu, 21 Jan 2016 20:46:25 +0100 Subject: Common: asterisks go against the type name not the variable name --- Source/Core/Common/CDUtils.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/Core/Common/CDUtils.cpp') diff --git a/Source/Core/Common/CDUtils.cpp b/Source/Core/Common/CDUtils.cpp index 73005c4e63..9ea5c23a1f 100644 --- a/Source/Core/Common/CDUtils.cpp +++ b/Source/Core/Common/CDUtils.cpp @@ -136,7 +136,7 @@ std::vector cdio_get_devices() // checklist: /dev/cdrom, /dev/dvd /dev/hd?, /dev/scd? /dev/sr? static struct { - const char * format; + const char* format; unsigned int num_min; unsigned int num_max; } checklist[] = @@ -166,7 +166,7 @@ static bool is_device(const std::string& source_name) } // Check a device to see if it is a DVD/CD-ROM drive -static bool is_cdrom(const std::string& drive, char *mnttype) +static bool is_cdrom(const std::string& drive, char* mnttype) { // Check if the device exists if (!is_device(drive)) @@ -213,7 +213,7 @@ bool cdio_is_cdrom(std::string device) // Resolve symbolic links. This allows symbolic links to valid // drives to be passed from the command line with the -e flag. char resolved_path[MAX_PATH]; - char *devname = realpath(device.c_str(), resolved_path); + char* devname = realpath(device.c_str(), resolved_path); if (!devname) return false; device = devname; -- cgit v1.2.3