blob: dbcd94e26dc052f801e1b6aaf42e2ef319c8d408 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-ax,v 1.1 2000/10/02 11:14:28 jlam Exp $
--- lib/ir/udping.c.orig Fri Apr 16 05:59:39 1999
+++ lib/ir/udping.c
@@ -34,10 +34,8 @@
#define UDP_HOST_NO "129.217.20.172"
#endif
-extern uid_t getuid();
-extern int socket();
-extern int sendto();
-extern int close();
+#include <unistd.h> /* declarations for getuid(), close() */
+#include <sys/socket.h> /* declarations for socket(), sendto() */
static int iamhere(progname)
char *progname;
|