diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-01-26 02:17:50 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-01-26 02:17:50 +0000 |
commit | 8a6c22174eeb2f4f0a7ba52f5c6f2519131285ea (patch) | |
tree | bf97ab126fb4f2ee00d7ca35997dfa767360ffc3 /posix/wordexp.h | |
parent | deea1b2970f69d3fc283eaad1eb615ffc7e1166f (diff) | |
download | glibc-8a6c22174eeb2f4f0a7ba52f5c6f2519131285ea.zip glibc-8a6c22174eeb2f4f0a7ba52f5c6f2519131285ea.tar.gz glibc-8a6c22174eeb2f4f0a7ba52f5c6f2519131285ea.tar.bz2 |
Update.
* posix/wordexp.h: Correct definition of wordexp_t.
* posix/wordexp.c: Moved to ...
* sysdeps/generic/wordexp.c: ...here. New file.
* sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
* sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
* sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
wordexp.
* sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
Diffstat (limited to 'posix/wordexp.h')
-rw-r--r-- | posix/wordexp.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/posix/wordexp.h b/posix/wordexp.h index 14840f6..8c2f4df 100644 --- a/posix/wordexp.h +++ b/posix/wordexp.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 92, 96, 97, 98, 99 Free Software Foundation, Inc. +/* Copyright (C) 1991, 92, 96, 97, 98, 99, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -20,6 +20,8 @@ #define _WORDEXP_H 1 #include <features.h> +#define __need_size_t +#include <stddef.h> __BEGIN_DECLS @@ -39,9 +41,9 @@ enum /* Structure describing a word-expansion run. */ typedef struct { - int we_wordc; /* Count of words matched. */ + size_t we_wordc; /* Count of words matched. */ char **we_wordv; /* List of expanded words. */ - int we_offs; /* Slots to reserve in `we_wordv'. */ + size_t we_offs; /* Slots to reserve in `we_wordv'. */ } wordexp_t; /* Possible nonzero return values from `wordexp'. */ |