From nobody@FreeBSD.ORG Wed May  5 08:58:31 1999
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id C6C9815201; Wed,  5 May 1999 08:58:31 -0700 (PDT)
Message-Id: <19990505155831.C6C9815201@hub.freebsd.org>
Date: Wed,  5 May 1999 08:58:31 -0700 (PDT)
From: fanf@demon.net
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: ../../kern/kern_ntptime.c:533: warning: initialization from incompatible pointer type

>Number:         11517
>Category:       kern
>Synopsis:       ../../kern/kern_ntptime.c:533: warning: initialization from incompatible pointer type
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    phk
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May  5 09:00:01 PDT 1999
>Closed-Date:    Mon Jul 24 11:56:00 PDT 2000
>Last-Modified:  Mon Jul 24 11:56:51 PDT 2000
>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:
Responsible-Changed-From-To: freebsd-bugs->phk 
Responsible-Changed-By: nra 
Responsible-Changed-When: Thu Jul 20 19:43:46 PDT 2000 
Responsible-Changed-Why:  
phk seems to have spent alot of time working here. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=11517 
State-Changed-From-To: open->closed 
State-Changed-By: phk 
State-Changed-When: Mon Jul 24 11:56:00 PDT 2000 
State-Changed-Why:  
3.x is no longer being maintained. 
-current gives no such warning. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=11517 
>Unformatted:
 X-Send-Pr-Version: www-1.0
 
 
