Craig Rodrigues
587cf6827d
Use ANSI C prototypes. Eliminates -Wold-style-definition warnings.
2015-09-22 15:40:07 +00:00
Craig Rodrigues
3e2981e8b8
Use proper function prototype for readdir().
...
Eliminates -Wstrict-prototypes warning
Submitted by: Joerg Sonnenberger <joerg@dragonflybsd.org>
Obtained from: DragonFlyBSD (commit 2a6aec8dab58c89961cabcfdb92e0d0ae256dea4)
2015-09-22 07:40:55 +00:00
Craig Rodrigues
996f7159b1
Use ANSI C prototypes. Eliminates -Wold-style-definition warnings.
2015-09-22 07:31:40 +00:00
Bryan Drewery
cca3306a7f
Avoid adding duplicates into OBJS. bsd.lib.mk already handles adding
...
entries to OBJS based on SRCS.
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
2015-09-22 04:55:28 +00:00
Craig Rodrigues
3ba5ea2408
Use ANSI C prototypes. Eliminates -Wold-style-definition warnings.
2015-09-20 21:21:17 +00:00
Craig Rodrigues
626c9d7433
Use ANSI C prototypes. Eliminates -Wold-style-definition warnings.
2015-09-20 21:21:01 +00:00
Craig Rodrigues
d9556fb15d
Use ANSI C prototypes. Eliminates -Wold-style-definition warnings.
2015-09-20 20:55:00 +00:00
Craig Rodrigues
5e939c7dcb
Use ANSI C prototypes. Eliminates -Wold-style-definition warnings.
2015-09-20 20:53:24 +00:00
Craig Rodrigues
107909b888
Use ANSI C prototypes. Eliminates -Wold-style-definition warnings.
2015-09-20 20:52:13 +00:00
Craig Rodrigues
85cef63214
Use ANSI C prototypes. Eliminates -Wold-style-definition warnings.
2015-09-20 20:51:52 +00:00
Craig Rodrigues
060e5496fc
Use ANSI C prototypes. Eliminates -Wold-style-definition warnings.
2015-09-20 20:50:56 +00:00
Craig Rodrigues
c83f3fc4b4
Use ANSI C prototypes. Eliminates -Wold-style-definition warnings.
2015-09-20 20:50:18 +00:00
Craig Rodrigues
25070501c6
Use ANSI C prototypes. Eliminates -Wold-style-definition warnings.
2015-09-20 20:28:49 +00:00
Craig Rodrigues
4178e4b070
Remove names from some prototypes
2015-09-20 20:27:57 +00:00
Craig Rodrigues
7dcedc7a74
Remove names from some prototypes
2015-09-20 20:26:46 +00:00
Craig Rodrigues
f98e0c9dd8
Use ANSI C prototypes. Eliminates -Wold-style-definition warnings.
2015-09-20 20:24:28 +00:00
Craig Rodrigues
55b6b759c8
Use ANSI C prototypes. Eliminates -Wold-style-definition warnings.
2015-09-20 20:23:16 +00:00
Craig Rodrigues
d5bf9eb518
Remove names from some prototypes
2015-09-20 20:21:49 +00:00
Craig Rodrigues
8d7e1f1585
Remove names from some prototypes
2015-09-20 20:16:34 +00:00
Craig Rodrigues
48d59c2270
Remove names from prototypes
2015-09-20 20:15:44 +00:00
Craig Rodrigues
6874645fa9
Add include for declaration of _set_tp(). Eliminates -Wmissing-prototypes warnings.
2015-09-20 04:59:01 +00:00
Craig Rodrigues
25462e6589
Add declarations to eliminate -Wmissing-prototypes warnings
2015-09-20 04:26:55 +00:00
Craig Rodrigues
193d994d2d
Use ANSI C prototypes.
...
Eliminates gcc 4.9 warnings.
2015-09-20 04:23:16 +00:00
Craig Rodrigues
0b64c636db
Add declaration to eliminate -Wmissing-prototypes warning
2015-09-20 04:21:44 +00:00
Craig Rodrigues
9a50fd2d05
Add declarations to netdb_private.h to eliminate -Wmissing-prototypes warnings.
2015-09-20 04:20:31 +00:00
Craig Rodrigues
bf1aa507b0
Add declarations to eliminate -Wmissing-prototypes warnings
2015-09-20 04:17:53 +00:00
Craig Rodrigues
ae274020ba
Define _NS_PRIVATE to make declarations visible.
...
This eliminates -Wmissing-prototypes warnings.
2015-09-20 04:17:03 +00:00
Craig Rodrigues
ffdd70376a
Add missing includes to eliminate -Wmissing-prototypes warnings
2015-09-20 04:15:37 +00:00
Craig Rodrigues
9762525c95
Adding missing declarations to eliminate -Wmissing-prototypes warnings
2015-09-20 04:06:55 +00:00
Craig Rodrigues
f8af09cd0f
Add missing include to eliminate -Wmissing-prototypes warning
2015-09-20 04:06:04 +00:00
Craig Rodrigues
6db7b53b71
Add declaration to eliminate -Wmissing-prototypes warning
2015-09-20 03:59:27 +00:00
Craig Rodrigues
e0b54d0140
Add declarations to eliminate -Wmissing-prototypes warnings
2015-09-20 03:58:27 +00:00
Craig Rodrigues
97f3e1c2a2
Adding missing include to eliminate -Wmissing-prototypes warning
2015-09-20 03:56:57 +00:00
Craig Rodrigues
486828e8a3
Add declarations to eliminate -Wmissing-prototypes warnings
2015-09-20 03:55:03 +00:00
Craig Rodrigues
8d3aa83d8b
Add declarations to eliminate -Wmissing-prototypes warnings.
2015-09-20 03:53:08 +00:00
Craig Rodrigues
d5cc6f7378
Add declaration to eliminate -Wmissing-prototypes warning.
2015-09-20 03:51:15 +00:00
Craig Rodrigues
7ca26e3831
Add missing include to eliminate -Wmissing-prototypes warnings
2015-09-20 03:49:08 +00:00
Craig Rodrigues
cfb65fa249
Add missing includes to eliminate -Wmissing-prototypes warnings
2015-09-20 03:45:57 +00:00
Hiroki Sato
bb957021d7
Add PF_LOCAL support in getaddrinfo(3) and getnameinfo(3):
...
- In a PF_LOCAL address, "hostname" must begins with '/' and "servname"
is always NULL. All of ai_flags are ignored.
- PF_UNSPEC matches PF_LOCAL. EAI_SERVICE is not returned to make
AF-independent programming easier; "servname" is always ignored
in PF_LOCAL. In practice, PF_INET* and PF_LOCAL are
mutually-exclusive because a hostname which begins with '/' is invalid
in PF_INET*. No domain name resolution is performed for a PF_LOCAL address.
Differential Revision: https://reviews.freebsd.org/D3634
2015-09-20 01:09:23 +00:00
Jilles Tjoelker
1c0046d792
libc: Consistently call _ioctl() internally, not ioctl().
2015-09-19 20:27:09 +00:00
Xin LI
ac1a32b454
There is no HP 300 support in FreeBSD anymore, so remove the obsolete
...
BUGS section.
While I'm there also bump Dd date.
MFC after: 2 weeks
2015-09-18 20:28:37 +00:00
Edward Tomasz Napierala
0d3d0cc358
Kernel part of reroot support - a way to change rootfs without reboot.
...
Note that the mountlist manipulations are somewhat fragile, and not very
pretty. The reason for this is to avoid changing vfs_mountroot(), which
is (obviously) rather mission-critical, but not very well documented,
and thus hard to test properly. It might be possible to rework it to use
its own simple root mount mechanism instead of vfs_mountroot().
Reviewed by: kib@
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D2698
2015-09-18 17:32:22 +00:00
Bryan Drewery
42c4cf86d4
Update META_MODE dependencies.
2015-09-17 05:06:34 +00:00
Craig Rodrigues
e263ec16a9
Use unsigned variables in a few places.
...
Eliminates gcc 4.9 warnings.
2015-09-14 18:59:01 +00:00
Craig Rodrigues
76470dd50e
Use ANSI C prototypes.
...
Eliminates gcc 4.9 warnings.
2015-09-14 18:44:13 +00:00
Jilles Tjoelker
636b8d937e
db/recno: Open with close-on-exec like btree and hash do.
2015-09-13 17:17:52 +00:00
Jilles Tjoelker
6b46581ed9
setuid(2): Suggest O_CLOEXEC instead of fcntl(F_SETFD).
2015-09-13 14:00:49 +00:00
Mark Johnston
d73ce4c698
Remove the v_cache_min and v_cache_max sysctls. They are unused and have
...
no effect.
Reviewed by: alc
Sponsored by: EMC / Isilon Storage Division
2015-09-11 03:00:20 +00:00
Michael Tuexen
14914827f0
Zero out a local variable also when PURIFY is not defined.
...
This silence a warning brought up by valgrind whenever if_nametoindex
is used. This was already discussed in PR 166483, but the code
committed in r234329 guards the initilization with #ifdef PURIFY.
Therefore, valgrind still complains. Since this code is not performance
critical, always zero out the local variable to silence valgrind.
PR: 166483
Discussed with: eadler@
MFC after: 4 weeks
2015-09-10 10:23:23 +00:00
Hiroki Sato
f9f9625d18
- Fix SIGSEGV when sa == NULL. NULL check in getnameinfo_inet()
...
did not work as expected.
- Simplify afdl table lookup.
MFC after: 3 days
2015-09-09 09:19:07 +00:00