summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/str-list.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-03-16 15:13:07 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-03-16 15:13:07 +0000
commite967e0cc978d647040ac5616d389e9007d593464 (patch)
tree1f33ce27a77473b2e90b549d42399b73d4123497 /Build/source/texk/kpathsea/str-list.c
parent49f1fb6887627cdb7cf524aaef9b92108c894381 (diff)
new reentrant kpathsea API (from Taco)
git-svn-id: svn://tug.org/texlive/trunk@12401 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/str-list.c')
-rw-r--r--Build/source/texk/kpathsea/str-list.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/Build/source/texk/kpathsea/str-list.c b/Build/source/texk/kpathsea/str-list.c
index 8bbfa6ae02d..86498f8fdd2 100644
--- a/Build/source/texk/kpathsea/str-list.c
+++ b/Build/source/texk/kpathsea/str-list.c
@@ -25,7 +25,7 @@
str_list_type
-str_list_init P1H(void)
+str_list_init (void)
{
str_list_type ret;
@@ -37,7 +37,7 @@ str_list_init P1H(void)
void
-str_list_add P2C(str_list_type *, l, string, s)
+str_list_add (str_list_type *l, string s)
{
STR_LIST_LENGTH (*l)++;
XRETALLOC (STR_LIST (*l), STR_LIST_LENGTH (*l), string);
@@ -49,7 +49,7 @@ str_list_add P2C(str_list_type *, l, string, s)
instead of calling str_list_add on each element. */
void
-str_list_concat P2C(str_list_type *, target, str_list_type, more)
+str_list_concat (str_list_type *target, str_list_type more)
{
unsigned e;
unsigned prev_len = STR_LIST_LENGTH (*target);
@@ -67,7 +67,7 @@ str_list_concat P2C(str_list_type *, target, str_list_type, more)
/* Note that we free the old elements of target as well. */
void
-str_list_concat_elements P2C(str_list_type *, target, str_list_type, more)
+str_list_concat_elements (str_list_type *target, str_list_type more)
{
if (STR_LIST_LENGTH(more) == 0) {
return;
@@ -107,7 +107,7 @@ str_list_concat_elements P2C(str_list_type *, target, str_list_type, more)
/* Free the list (but not the elements within it). */
void
-str_list_free P1C(str_list_type *, l)
+str_list_free (str_list_type *l)
{
if (STR_LIST (*l))
{
@@ -122,7 +122,7 @@ str_list_free P1C(str_list_type *, l)
lists are so short, we do a maximally inefficient bubble search. */
void
-str_list_uniqify P1C(str_list_type *, l)
+str_list_uniqify (str_list_type *l)
{
unsigned e;
str_list_type ret = str_list_init ();