Mercurial > hg > octave-kai > gnulib-hg
view lib/save-cwd.h @ 1193:d6ec9c17b5b9
Guard PARAMS-enabling definition with
`defined PROTOTYPES || (defined __STDC__ && __STDC__)' to avoid
problems with Irix4's cc. From Kaveh Ghazi.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Sat, 03 Jan 1998 11:56:09 +0000 |
parents | 8de2d981b46f |
children | c6450308f123 |
line wrap: on
line source
#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 */