Skip to content

Commit

Permalink
[refactor] saneopt_new -> saneopt_init
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalecki committed Mar 29, 2013
1 parent 7f7198b commit f45b80d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/saneopt.h
Expand Up @@ -17,7 +17,7 @@ struct saneopt {
/*
* Create a new `saneopt` parser.
*/
saneopt_t* saneopt_new(int argc, char** argv);
saneopt_t* saneopt_init(int argc, char** argv);

/*
* Set an alias from `old` to `new`.
Expand Down
2 changes: 1 addition & 1 deletion src/saneopt.c
Expand Up @@ -3,7 +3,7 @@

#include "../include/saneopt.h"

saneopt_t* saneopt_new(int argc, char** argv) {
saneopt_t* saneopt_init(int argc, char** argv) {
saneopt_t* saneopt = malloc(sizeof(saneopt_t));
saneopt->argc = argc;
saneopt->argv = argv;
Expand Down

0 comments on commit f45b80d

Please sign in to comment.