Skip to content

Commit

Permalink
Fix documentation in yarn.h for yarn_prefix.
Browse files Browse the repository at this point in the history
  • Loading branch information
madler committed Jan 13, 2012
1 parent a618a4e commit 9a91283
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions yarn.c
@@ -1,6 +1,6 @@
/* yarn.c -- generic thread operations implemented using pthread functions
* Copyright (C) 2008, 2012 Mark Adler
* Version 1.2 8 Jan 2012 Mark Adler
* Version 1.2 13 Jan 2012 Mark Adler
* For conditions of distribution and use, see copyright notice in yarn.h
*/

Expand All @@ -13,8 +13,9 @@
1.0 19 Oct 2008 First version
1.1 26 Oct 2008 No need to set the stack size -- remove
Add yarn_abort() function for clean-up on error exit
1.2 8 Jan 2012 Add large file #define for consistency with pigz.c
1.2 13 Jan 2012 Add large file #define for consistency with pigz.c
Update thread portability #defines per IEEE 1003.1-2008
Fix documentation in yarn.h for yarn_prefix
*/

/* for thread portability */
Expand Down
8 changes: 4 additions & 4 deletions yarn.h
@@ -1,6 +1,6 @@
/* yarn.h -- generic interface for thread operations
* Copyright (C) 2008, 2011 Mark Adler
* Version 1.2 8 Jan 2012 Mark Adler
* Version 1.2 13 Jan 2012 Mark Adler
*/

/*
Expand Down Expand Up @@ -100,9 +100,9 @@
-- Error control --
yarn_name - a char pointer to a string that will be the prefix for any error
messages that these routines generate before exiting -- if not changed
by the application, "yarn" will be used
yarn_prefix - a char pointer to a string that will be the prefix for any
error messages that these routines generate before exiting -- if not
changed by the application, "yarn" will be used
yarn_abort - an external function that will be executed when there is an
internal yarn error, due to out of memory or misuse -- this function
may exit to abort the application, or if it returns, the yarn error
Expand Down

0 comments on commit 9a91283

Please sign in to comment.