summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dietlibc/libstdio/fputs.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1/dietlibc/libstdio/fputs.c')
-rw-r--r--mdk-stage1/dietlibc/libstdio/fputs.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/mdk-stage1/dietlibc/libstdio/fputs.c b/mdk-stage1/dietlibc/libstdio/fputs.c
deleted file mode 100644
index 51ee9a96e..000000000
--- a/mdk-stage1/dietlibc/libstdio/fputs.c
+++ /dev/null
@@ -1,6 +0,0 @@
-#include "dietstdio.h"
-#include <string.h>
-
-int fputs(const char *s, FILE *stream) {
- return fwrite(s,strlen(s),1,stream);
-}
ass="hl com"> * Portions from Erik Troan (ewt@redhat.com) * * Copyright 1996 Red Hat Software * */ #ifndef _NETWORK_H_ #define _NETWORK_H_ #include <netinet/in.h> #include <netinet/ip.h> #include <arpa/inet.h> enum return_type nfs_prepare(void); enum return_type ftp_prepare(void); enum return_type http_prepare(void); enum boot_proto_type { BOOTPROTO_STATIC, BOOTPROTO_DHCP, BOOTPROTO_ADSL_PPPOE }; /* all of these in_addr things are in network byte order! */ struct interface_info { char device[10]; int is_ptp, is_up; struct in_addr ip, netmask, broadcast, network; enum boot_proto_type boot_proto; char *user, *pass; /* for ADSL connection */ }; /* these are to be used only by dhcp.c */ char * guess_netmask(char * ip_addr); int configure_net_device(struct interface_info * intf); extern char * hostname; extern char * domain; extern struct in_addr gateway; extern struct in_addr dns_server; extern struct in_addr dns_server2; #endif