Skip to content

Commit

Permalink
Copy [22671] from trunk: another GCC 4.2 fix
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.mythtv.org/svn/branches/release-0-22-fixes@22672 7dbf422c-18fa-0310-86e9-fd20926502f2
  • Loading branch information
NigelPearson committed Oct 31, 2009
1 parent ce08e39 commit 8dc7b00
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions mythtv/libs/libmyth/mediamonitor-darwin.cpp
Expand Up @@ -27,11 +27,11 @@

// These aren't external, they are defined in this file.
// The 'extern "C"' forces them in the C namespace, not the C++
extern "C" static void diskAppearedCallback(DADiskRef disk, void *context);
extern "C" static void diskDisappearedCallback(DADiskRef disk, void *context);
extern "C" static void diskChangedCallback(DADiskRef disk,
CFArrayRef keys, void *context);
extern "C" static MediaType MediaTypeForBSDName(const char *bsdName);
extern "C" void diskAppearedCallback(DADiskRef disk, void *context);
extern "C" void diskDisappearedCallback(DADiskRef disk, void *context);
extern "C" void diskChangedCallback(DADiskRef disk,
CFArrayRef keys, void *context);
extern "C" MediaType MediaTypeForBSDName(const char *bsdName);

static mach_port_t sMasterPort;

Expand Down

0 comments on commit 8dc7b00

Please sign in to comment.