From 8a6c22174eeb2f4f0a7ba52f5c6f2519131285ea Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 26 Jan 2001 02:17:50 +0000 Subject: 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. --- posix/wordexp.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'posix/wordexp.h') 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 +#define __need_size_t +#include __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'. */ -- cgit 1.4.1