Some minor cleanups/bugfixes split off from the big remount work:

Shorten GPL boilerplate.
  Enabling FEATURE_CLEAN_UP broke things in two places.
  Move the NFS with uClibc check to nfsmount.c
This commit is contained in:
Rob Landley
2005-12-20 17:18:01 +00:00
parent b9620414c1
commit 7b363fd3c9
2 changed files with 14 additions and 27 deletions

View File

@@ -52,6 +52,12 @@
#include <rpc/pmap_clnt.h>
#include "nfsmount.h"
/* This is just a warning of a common mistake. Possibly this should be a
* * uclibc faq entry rather than in busybox... */
#if ENABLE_FEATURE_MOUNT_NFS && defined(__UCLIBC__) && ! defined(__UCLIBC_HAS_RPC__)
#error "You need to build uClibc with UCLIBC_HAS_RPC for NFS support."
#endif
/*
* NFS stats. The good thing with these values is that NFSv3 errors are