Commit 33d4b1a2 by Lars Immisch

#define'd constants should not end with a semicolon.

Fix prototypes. C wants void (C++ doesn't need that).
parent 7b1e24ad
...@@ -2,10 +2,10 @@ ...@@ -2,10 +2,10 @@
extern "C" { extern "C" {
#endif #endif
#define SASS_STYLE_NESTED 0; #define SASS_STYLE_NESTED 0
#define SASS_STYLE_EXPANDED 1; #define SASS_STYLE_EXPANDED 1
#define SASS_STYLE_COMPACT 2; #define SASS_STYLE_COMPACT 2
#define SASS_STYLE_COMPRESSED 3; #define SASS_STYLE_COMPRESSED 3
struct sass_options { struct sass_options {
int output_style; int output_style;
...@@ -36,9 +36,9 @@ struct sass_folder_context { ...@@ -36,9 +36,9 @@ struct sass_folder_context {
char* error_message; char* error_message;
}; };
struct sass_context* sass_new_context (); struct sass_context* sass_new_context (void);
struct sass_file_context* sass_new_file_context (); struct sass_file_context* sass_new_file_context (void);
struct sass_folder_context* sass_new_folder_context (); struct sass_folder_context* sass_new_folder_context (void);
void sass_free_context (struct sass_context* ctx); void sass_free_context (struct sass_context* ctx);
void sass_free_file_context (struct sass_file_context* ctx); void sass_free_file_context (struct sass_file_context* ctx);
......
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