add copyright notice
[unix-history] / usr / src / lib / libc / net / res_init.c
index 2832e62..6907781 100644 (file)
@@ -1,7 +1,12 @@
 #ifndef lint
 #ifndef lint
-static char sccsid[] = "@(#)res_init.c 4.2 (Berkeley) %G%";
+static char sccsid[] = "@(#)res_init.c 4.4 (Berkeley) %G%";
 #endif
 
 #endif
 
+/*
+ * Copyright (c) 1985 Regents of the University of California
+ *     All Rights Reserved
+ */
+
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
@@ -49,6 +54,4 @@ res_init()
        /* Allow user to override the local domain definition */
        if ((cp = getenv("LOCALDOMAIN")) != NULL)
                strncpy(_res.defdname, cp, sizeof(_res.defdname));
        /* Allow user to override the local domain definition */
        if ((cp = getenv("LOCALDOMAIN")) != NULL)
                strncpy(_res.defdname, cp, sizeof(_res.defdname));
-
-       return (0);
 }
 }