Skip to content

Commit

Permalink
fix warnings about mismatched class/struct tags
Browse files Browse the repository at this point in the history
  • Loading branch information
JP Cimalando committed Jan 13, 2017
1 parent 3ce5497 commit fe63fa9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/calf/connector.h
Expand Up @@ -28,7 +28,7 @@

namespace calf_plugins {

class plugin_strip;
struct plugin_strip;
class calf_connector;

struct connector_port
Expand Down
4 changes: 2 additions & 2 deletions src/calf/gui.h
Expand Up @@ -212,8 +212,8 @@ class plugin_gui: public send_configure_iface, public send_updates_iface
static void xml_element_end(void *data, const char *element);
};

class main_window_iface;
class main_window_owner_iface;
struct main_window_iface;
struct main_window_owner_iface;

/// A class used to inform the plugin GUIs about the environment they run in
/// (currently: what plugin features are accessible)
Expand Down
4 changes: 2 additions & 2 deletions src/calf/preset.h
Expand Up @@ -27,8 +27,8 @@

namespace calf_plugins {

class plugin_ctl_iface;
struct plugin_ctl_iface;

/// Contents of single preset
struct plugin_preset
{
Expand Down
2 changes: 1 addition & 1 deletion src/utils.cpp
Expand Up @@ -158,7 +158,7 @@ vector <direntry> list_directory(const string &path)
{
std::vector <direntry> out;
DIR *dir;
class dirent *ent;
struct dirent *ent;
dir = opendir(path.empty() ? "." : path.c_str());
while ((ent = readdir(dir)) != NULL) {
direntry f;
Expand Down

0 comments on commit fe63fa9

Please sign in to comment.