mirror of
https://github.com/coreutils/coreutils.git
synced 2024-11-26 03:13:42 +08:00
541699c01c
`defined PROTOTYPES || (defined __STDC__ && __STDC__)' to avoid problems with Irix4's cc. From Kaveh Ghazi.
24 lines
472 B
C
24 lines
472 B
C
#ifndef SAVE_CWD_H
|
|
# define SAVE_CWD_H 1
|
|
|
|
struct saved_cwd
|
|
{
|
|
int desc;
|
|
char *name;
|
|
};
|
|
|
|
# ifndef PARAMS
|
|
# if defined PROTOTYPES || (defined __STDC__ && __STDC__)
|
|
# define PARAMS(Args) Args
|
|
# else
|
|
# define PARAMS(Args) ()
|
|
# endif
|
|
# endif
|
|
|
|
int save_cwd PARAMS ((struct saved_cwd *cwd));
|
|
int restore_cwd PARAMS ((const struct saved_cwd *cwd, const char *dest,
|
|
const char *from));
|
|
void free_cwd PARAMS ((struct saved_cwd *cwd));
|
|
|
|
#endif /* SAVE_CWD_H */
|