summaryrefslogtreecommitdiff
path: root/Source/Core/Common/CDUtils.cpp
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2016-01-21 23:10:02 +0100
committerPierre Bourdon <delroth@gmail.com>2016-01-21 23:10:02 +0100
commit338714a3b083af9c045482764673a799d582cf2f (patch)
treeb89fff11cb62813c947524181824f9117be0be49 /Source/Core/Common/CDUtils.cpp
parent7c3e4b34f3407b95ac1746fe6f4567c744478c60 (diff)
parent4b06e927315aeaae5294eb46925bdb9b8dd301dc (diff)
Merge pull request #3544 from mathieui/common_asterisks
Common: asterisks go against the type name
Diffstat (limited to 'Source/Core/Common/CDUtils.cpp')
-rw-r--r--Source/Core/Common/CDUtils.cpp6
1 files changed, 3 insertions, 3 deletions
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<std::string> 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;