Commit 161c6702 authored by Lucas Russo's avatar Lucas Russo

src/libs/libbpmclient/*: remove enum forward declaration

Strict C (and C++) does not allow forward declarations
of enums as the compiler is free to choose the most suitable
data type.
parent 39df5fd4
......@@ -48,8 +48,6 @@
/* Public API classes */
/* Forward bpm_client_err_e declaration enumeration */
typedef enum _bpm_client_err_e bpm_client_err_e;
/* Opaque bpm_client_t structure */
typedef struct _bpm_client_t bpm_client_t;
......
......@@ -29,6 +29,8 @@ enum _bpm_client_err_e
BPM_CLIENT_ERR_END /* End of enum marker */
};
typedef enum _bpm_client_err_e bpm_client_err_e;
/* Convert enumeration type to string */
const char * bpm_client_err_str (bpm_client_err_e err);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment