summaryrefslogtreecommitdiff
path: root/posix/wordexp.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-01-26 02:17:50 +0000
committerUlrich Drepper <drepper@redhat.com>2001-01-26 02:17:50 +0000
commit8a6c22174eeb2f4f0a7ba52f5c6f2519131285ea (patch)
treebf97ab126fb4f2ee00d7ca35997dfa767360ffc3 /posix/wordexp.h
parentdeea1b2970f69d3fc283eaad1eb615ffc7e1166f (diff)
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.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/posix/wordexp.h b/posix/wordexp.h
index 14840f6e3e..8c2f4dfc64 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'. */