Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/sys Pull in <string.h> for memcpy() prototype.
details: https://anonhg.NetBSD.org/src/rev/2081ab0bb036
branches: trunk
changeset: 515158:2081ab0bb036
user: thorpej <thorpej%NetBSD.org@localhost>
date: Mon Sep 17 23:32:33 2001 +0000
description:
Pull in <string.h> for memcpy() prototype.
diffstat:
lib/libc/sys/clock_settime.c | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
diffs (31 lines):
diff -r 2b544fcf55bb -r 2081ab0bb036 lib/libc/sys/clock_settime.c
--- a/lib/libc/sys/clock_settime.c Mon Sep 17 22:41:59 2001 +0000
+++ b/lib/libc/sys/clock_settime.c Mon Sep 17 23:32:33 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: clock_settime.c,v 1.1 2001/09/16 07:41:57 manu Exp $ */
+/* $NetBSD: clock_settime.c,v 1.2 2001/09/17 23:32:33 thorpej Exp $ */
/*
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -32,14 +32,17 @@
*/
#include "namespace.h"
-#include <fcntl.h>
-#include <paths.h>
-#include <unistd.h>
-#include <time.h>
+
#include <sys/types.h>
#include <sys/ioctl.h>
#include <sys/syscall.h>
+#include <fcntl.h>
+#include <paths.h>
+#include <string.h>
+#include <time.h>
+#include <unistd.h>
+
#include <sys/clockctl.h>
#ifdef __weak_alias
Home |
Main Index |
Thread Index |
Old Index