* src/copy.c (utimens_symlink): Avoid unused variables.
* src/su.c (getusershell): Rely on gnulib for prototype.
utimensat fails with ENOSYS. Ignore that. */
if (err && errno == ENOSYS)
err = 0;
+#else
+ (void) file;
+ (void) timespec;
#endif
return err;
#include <pwd.h>
#include <grp.h>
-/* Hide any system prototype for getusershell.
- This is necessary because some Cray systems have a conflicting
- prototype (returning `int') in <unistd.h>. */
-#define getusershell _getusershell_sys_proto_
-
#include "system.h"
#include "getpass.h"
-#undef getusershell
-
#if HAVE_SYSLOG_H && HAVE_SYSLOG
# include <syslog.h>
#else
#define DEFAULT_USER "root"
char *crypt (char const *key, char const *salt);
-char *getusershell (void);
-void endusershell (void);
-void setusershell (void);
extern char **environ;