Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/sys Need string.h for memcpy() prototype.



details:   https://anonhg.NetBSD.org/src/rev/a5df51a45056
branches:  trunk
changeset: 515160:a5df51a45056
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Mon Sep 17 23:42:09 2001 +0000

description:
Need string.h for memcpy() prototype.

diffstat:

 lib/libc/sys/ntp_adjtime.c |  14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diffs (32 lines):

diff -r 63f9ad9894cd -r a5df51a45056 lib/libc/sys/ntp_adjtime.c
--- a/lib/libc/sys/ntp_adjtime.c        Mon Sep 17 23:41:32 2001 +0000
+++ b/lib/libc/sys/ntp_adjtime.c        Mon Sep 17 23:42:09 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ntp_adjtime.c,v 1.1 2001/09/16 07:41:58 manu Exp $ */
+/*     $NetBSD: ntp_adjtime.c,v 1.2 2001/09/17 23:42:09 thorpej Exp $ */
 
 /*
  * Copyright (c) 2001 The NetBSD Foundation, Inc.      
@@ -32,14 +32,18 @@
  */
 
 #include "namespace.h"
-#include <fcntl.h>
-#include <paths.h>
-#include <unistd.h>
+
+#include <sys/types.h>
+#include <sys/time.h>
 #include <sys/timex.h>
-#include <sys/types.h>
 #include <sys/ioctl.h>
 #include <sys/syscall.h>
 #include <sys/clockctl.h>
+
+#include <fcntl.h>
+#include <paths.h>
+#include <string.h>
+#include <unistd.h>
  
 #ifdef __weak_alias
 __weak_alias(ntp_adjtime,_ntp_adjtime)



Home | Main Index | Thread Index | Old Index