Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

renamed init_fast_aleck_config

  • Loading branch information...
commit c2762725e17d0f8381a682474616f36b0c9ce233 1 parent bc8a53a
@ddfreyne authored
View
1  README.md
@@ -52,4 +52,3 @@ To do
* Implement Widon't for other block elements (e.g. `h1` to `h6`)
* Implement turning HTML off inside `<title>`
-* Rename `init_fast_aleck_config`
View
2  include/fast-aleck/fast-aleck.h
@@ -16,7 +16,7 @@ typedef struct _fast_aleck_config {
//
// params:
// fast_aleck_config *config - the config to initialize
-void init_fast_aleck_config(fast_aleck_config *config);
+void fast_aleck_config_init(fast_aleck_config *config);
// params:
// char *in - the unenhanced input string
View
2  src/fast-aleck/fast-aleck-test.c
@@ -266,7 +266,7 @@ int main(void)
void fast_aleck_test(struct fast_aleck_test_case *a_test_case, char *a_input, char *a_expected_output)
{
fast_aleck_config config;
- init_fast_aleck_config(&config);
+ fast_aleck_config_init(&config);
config.wrap_amps = a_test_case->wrap_amps;
config.wrap_caps = a_test_case->wrap_caps;
config.wrap_quotes = a_test_case->wrap_quotes;
View
2  src/fast-aleck/fast-aleck.c
@@ -18,7 +18,7 @@ enum _fa_state
_fa_state_attr_dquo
};
-void init_fast_aleck_config(fast_aleck_config *config)
+void fast_aleck_config_init(fast_aleck_config *config)
{
bzero(config, sizeof(fast_aleck_config));
}
Please sign in to comment.
Something went wrong with that request. Please try again.