Skip to content

Commit

Permalink
Forget to change return types
Browse files Browse the repository at this point in the history
  • Loading branch information
magne4000 committed Nov 7, 2011
1 parent 8051436 commit 6240599
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions unixlib.cc
Expand Up @@ -165,7 +165,7 @@ static Handle<Value> PAMAuthAsync(const Arguments& args) {

}

static int Mkstemp(eio_req *req) {
static void Mkstemp(eio_req *req) {

struct mkstemp_baton * baton = (struct mkstemp_baton *)req->data;
int fd = mkstemp(baton->strtemplate);
Expand All @@ -184,7 +184,7 @@ static int Mkstemp(eio_req *req) {

}

static int Flock(eio_req *req) {
static void Flock(eio_req *req) {

struct flock_baton * baton = (struct flock_baton *)req->data;

Expand All @@ -197,7 +197,7 @@ static int Flock(eio_req *req) {

}

static int PAMAuth(eio_req *req) {
static void PAMAuth(eio_req *req) {

struct pam_baton* baton = (struct pam_baton*) req->data;
char *service = strdup(baton->service);
Expand Down

0 comments on commit 6240599

Please sign in to comment.