FreeBSD Bugzilla – Attachment 46699 Details for
Bug 71618
[patch] timed(8): cleanup of the usr.sbin/timed code
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
timed.c.diff
timed.c.diff (text/x-patch), 803 bytes, created by
Rebecca Cran
on 2008-09-04 23:40:53 UTC
(
hide
)
Description:
timed.c.diff
Filename:
MIME Type:
Creator:
Rebecca Cran
Created:
2008-09-04 23:40:53 UTC
Size:
803 bytes
patch
obsolete
>--- timed.c.orig 2008-09-04 23:33:00.000000000 +0100 >+++ timed.c 2008-09-04 23:34:06.000000000 +0100 >@@ -115,9 +115,7 @@ > * overhauled at Silicon Graphics > */ > int >-main(argc, argv) >- int argc; >- char *argv[]; >+main(int argc, char *argv[]) > { > int on; > int ret; >@@ -704,7 +702,7 @@ > } > > char * >-date() >+date(void) > { > struct timeval tv; > time_t tv_sec; >@@ -715,8 +713,7 @@ > } > > void >-addnetname(name) >- char *name; >+addnetname(char *name) > { > register struct nets **netlist = &nets; > >@@ -731,9 +728,8 @@ > > /* note a host as trustworthy */ > static void >-add_good_host(name, perm) >- char *name; >- int perm; /* 1=not part of the netgroup */ >+add_good_host(char *name, int perm) >+/* int perm : 1=not part of the netgroup */ > { > register struct goodhost *ghp; > register struct hostent *hentp;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 71618
:
46692
|
46693
|
46694
|
46695
|
46696
|
46697
|
46698
| 46699