diff options
author | Jari Aalto <jari.aalto@cante.net> | 1997-06-05 14:59:13 +0000 |
---|---|---|
committer | Jari Aalto <jari.aalto@cante.net> | 2009-09-12 16:46:50 +0000 |
commit | d166f048818e10cf3799aa24a174fb22835f1acc (patch) | |
tree | 1ca27f9243900f8b236d0cde6a3862002aea9e19 /general.h | |
parent | ccc6cda312fea9f0468ee65b8f368e9653e1380b (diff) | |
download | bash-d166f048818e10cf3799aa24a174fb22835f1acc.tar.gz |
Imported from ../bash-2.01.tar.gz.
Diffstat (limited to 'general.h')
-rw-r--r-- | general.h | 23 |
1 files changed, 16 insertions, 7 deletions
@@ -23,6 +23,14 @@ #include "stdc.h" +#include "bashtypes.h" + +#if defined (HAVE_STRING_H) +# include <string.h> +#else +# include <strings.h> +#endif /* !HAVE_STRING_H */ + /* Generic pointer type. */ #if defined (__STDC__) # define PTR_T void * @@ -39,12 +47,6 @@ # endif /* !__STDC__ */ #endif /* !NULL */ -#if defined (HAVE_STRING_H) -# include <string.h> -#else -# include <strings.h> -#endif /* !HAVE_STRING_H */ - #define pointer_to_int(x) (int)((long)(x)) extern char *xmalloc (), *xrealloc (); @@ -197,7 +199,7 @@ extern int check_identifier __P((WORD_DESC *, int)); extern void unset_nodelay_mode __P((int)); extern void check_dev_tty __P((void)); extern int same_file (); /* too many problems with prototype */ -extern int move_to_high_fd __P((int, int)); +extern int move_to_high_fd __P((int, int, int)); extern int check_binary_file __P((unsigned char *, int)); extern char *canonicalize_pathname __P((char *)); @@ -213,4 +215,11 @@ extern char *extract_colon_unit __P((char *, int *)); extern void tilde_initialize __P((void)); extern char *bash_tilde_expand __P((char *)); +#if defined (__STDC__) && defined (gid_t) +extern int group_member __P((int)); +#else +extern int group_member __P((gid_t)); +#endif +extern char **get_group_list __P((int *)); + #endif /* _GENERAL_H_ */ |