summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/libc/res_config.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-08-20 21:47:37 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-08-20 21:47:37 +0000
commitff0f694d466fb114c185bf464811658f97d012f1 (patch)
tree1eef0becdabdf6a9902d265a84fc9bf9fd9389d5 /cpukit/libnetworking/libc/res_config.h
parentchanged version to 980820-BSD (diff)
downloadrtems-ff0f694d466fb114c185bf464811658f97d012f1.tar.bz2
Fixed many warnings.
Diffstat (limited to 'cpukit/libnetworking/libc/res_config.h')
-rw-r--r--cpukit/libnetworking/libc/res_config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/cpukit/libnetworking/libc/res_config.h b/cpukit/libnetworking/libc/res_config.h
index 644e7d796a..9e5715cf28 100644
--- a/cpukit/libnetworking/libc/res_config.h
+++ b/cpukit/libnetworking/libc/res_config.h
@@ -6,3 +6,11 @@
#define MULTI_PTRS_ARE_ALIASES 1 /* fold multiple PTR records into aliases */
#define CHECK_SRVR_ADDR 1 /* confirm that the server requested sent the reply */
#define BIND_UPDATE 1 /* update support */
+
+#if defined(__rtems__)
+u_int16_t _getshort(const u_char *src);
+u_int32_t _getlong(const u_char *src);
+int gethostname (char *name, int namelen);
+int sethostname (char *name, int namelen);
+int issetugid (void);
+#endif