Skip to content

Commit

Permalink
Put header file function declarations inside extern "C" blocks if needed
Browse files Browse the repository at this point in the history
  • Loading branch information
rg3 committed Oct 15, 2013
1 parent 0f6920c commit b0f0c41
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bcrypt.h
Expand Up @@ -2,6 +2,10 @@

#define BCRYPT_HASHSIZE (64)

#ifdef __cplusplus
extern "C" {
#endif

/*
* This function expects a work factor between 4 and 31 and a char array to
* store the resulting generated salt. The char array should typically have
Expand Down

0 comments on commit b0f0c41

Please sign in to comment.