turns printfs back on
[freebsd-src/fkvm-freebsd.git] / contrib / cvs / lib / savecwd.h
blobf9802f8ca2faf5b73fa7e8d7d8c0b1d07f60aea6
1 #ifndef SAVE_CWD_H
2 #define SAVE_CWD_H 1
4 struct saved_cwd
6 int desc;
7 char *name;
8 };
10 #if defined (__GNUC__) || (defined (__STDC__) && __STDC__)
11 #define __PROTO(args) args
12 #else
13 #define __PROTO(args) ()
14 #endif /* GCC. */
16 int save_cwd __PROTO((struct saved_cwd *cwd));
17 int restore_cwd __PROTO((const struct saved_cwd *cwd, const char *dest));
18 void free_cwd __PROTO((struct saved_cwd *cwd));
20 #endif /* SAVE_CWD_H */