aboutsummaryrefslogtreecommitdiff
path: root/nfs
diff options
context:
space:
mode:
Diffstat (limited to 'nfs')
-rw-r--r--nfs/main.c2
-rw-r--r--nfs/mount.c4
2 files changed, 2 insertions, 4 deletions
diff --git a/nfs/main.c b/nfs/main.c
index 9ea6f0bc..3f4365c7 100644
--- a/nfs/main.c
+++ b/nfs/main.c
@@ -39,7 +39,7 @@ int main_udp_socket;
char *hostname;
volatile struct mapped_time_value *mapped_time;
-extern char *localhost ();
+extern char *localhost (void);
/* Default number of times to retry RPCs when mounted soft. */
#define DEFAULT_SOFT_RETRIES 3
diff --git a/nfs/mount.c b/nfs/mount.c
index f8318c27..45a2ad4f 100644
--- a/nfs/mount.c
+++ b/nfs/mount.c
@@ -18,13 +18,11 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. */
-#define malloc a_byte_for_every_bozotic_sun_lossage_and_youd_need_a_lotta_ram
#include <rpc/types.h>
#include <rpc/xdr.h>
+#include <rpc/pmap_prot.h>
#undef TRUE /* Get rid of sun defs. */
#undef FALSE
-#undef malloc
-#include <rpc/pmap_prot.h>
#include <errno.h>
#include <error.h>
#include <sys/socket.h>