Date: Wed, 5 May 1999 08:58:31 -0700 (PDT) From: fanf@demon.net To: freebsd-gnats-submit@freebsd.org Subject: kern/11517: ../../kern/kern_ntptime.c:533: warning: initialization from incompatible pointer type Message-ID: <19990505155831.C6C9815201@hub.freebsd.org>
index | next in thread | raw e-mail
>Number: 11517
>Category: kern
>Synopsis: ../../kern/kern_ntptime.c:533: warning: initialization from incompatible pointer type
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed May 5 09:00:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator: Tony Finch
>Release: 3.1-STABLE-19990505
>Organization:
Demon Internet
>Environment:
FreeBSD shirt.www.demon.net 3.1-STABLE-19990505 FreeBSD 3.1-STABLE-19990505 #20: Wed May 5 14:44:57 GMT 1999 root@shirt.www.demon.net:/usr/src/sys/compile/SHIRT i386
>Description:
The declaration of ntp_init in kern_ntptime.c is incompatible with
the func element of struct sysinit.
>How-To-Repeat:
>Fix:
--- kern_ntptime.c.old Wed Apr 14 01:24:14 1999
+++ kern_ntptime.c.new Wed May 5 15:56:07 1999
@@ -190,7 +190,7 @@
* End of phase/frequency-lock loop (PLL/FLL) definitions
*/
-static void ntp_init(void);
+static void ntp_init(void *dummy);
static void hardupdate(long offset);
/*
@@ -505,7 +505,7 @@
* probably be integrated with the code that does that.
*/
static void
-ntp_init()
+ntp_init(void *dummy)
{
/*
>Release-Note:
>Audit-Trail:
>Unformatted:
X-Send-Pr-Version: www-1.0
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990505155831.C6C9815201>
