Glen Barber
a5921bc365
Update share/examples/* to properly install /usr/share/examples.
...
As result of this, a new examples package is now created.
Note, this is only effective with 'SHARED=copies' (the default),
as the 'SHARED=symlinks' mechanism will create a symlink to the
source tree version of the file(s).
Sponsored by: The FreeBSD Foundation
2016-05-10 00:51:50 +00:00
Pedro F. Giffuni
ca7f4027f7
share: minor spelling fixes.
...
Mostly comments but these tend to be user-visible.
MFC after: 2 weeks
2016-05-01 16:29:02 +00:00
Warner Losh
3bdf775801
NO_MAN= has been deprecated in favor of MAN= for some time, go ahead
...
and finish the job. ncurses is now the only Makefile in the tree that
uses it since it wasn't a simple mechanical change, and will be
addressed in a future commit.
2014-04-13 05:21:56 +00:00
Wojciech A. Koszek
55f031bd90
Conform style.Makefile(5) and replace = and += with ?=, which lets you to
...
override WARNS.
Reported by: <marius@nuenneri.ch> and uqs@
2010-02-01 16:13:56 +00:00
Wojciech A. Koszek
12a91a4387
Include unistd.h for read(), write() and stdlib.h for exit().
...
Bump WARNS to 5 while being here.
2010-01-18 23:13:22 +00:00
Maxim Sobolev
dc79eb6b2a
We don't have d_maj field in cdevsw structure anymore.
2006-05-19 20:02:44 +00:00
Ruslan Ermilov
e653b48c80
Start the dreaded NOFOO -> NO_FOO conversion.
...
OK'ed by: core
2004-12-21 08:47:35 +00:00
Pawel Jakub Dawidek
74bf4e164b
According to module(9), when command is unrecognized, the module should
...
return EOPNOTSUPP.
2004-08-30 09:49:59 +00:00
Tim J. Robbins
5db700e0f5
Update for struct cdevsw and dev_t -> struct cdev * changes, plus one
...
64-bit portability fix.
2004-07-16 06:55:34 +00:00
Maxim Konovalov
ef92aa117e
Style.
2004-06-09 17:10:41 +00:00
Lukas Ertl
c5810cfd89
Remove duplicate #include.
...
PR: misc/67748
Submitted by: bugghy <bugghy@phenix.rootshell.be>
2004-06-09 15:40:00 +00:00
Martin Blapp
fffc6e58d9
Fix the cdev kld example.
...
PR: 52954
Submitted by: Priit Piipuu <priit.piipuu@mail.ee>
Reviewed by: phk
2003-08-03 10:39:29 +00:00
Ruslan Ermilov
11f0b352e0
Update the SUBDIR hacks to work with the current bsd.subdir.mk.
2002-07-11 13:38:05 +00:00
Andrew R. Reiter
a220d00e74
Update the KLD examples so they will work with current.
...
Reviewed: jhb
2001-11-13 07:42:30 +00:00
Ruslan Ermilov
2fb2e1897d
Style.
2001-09-18 12:28:22 +00:00
David E. O'Brien
1a37aa566b
Add `_PATH_DEVZERO'.
...
Use _PATH_* where where possible.
2000-12-09 09:35:55 +00:00
Maxim Sobolev
7320fd3a30
Fix cdev kld example after it has been broken for year or so. Also extend list
...
of supported operations by example read() and write() operations.
Inspired by: http://www.daemonnews.org/200010/blueprints.html
PR: 16173
Submitted by: sobomax
2000-10-02 14:14:07 +00:00
Peter Wemm
7f3dea244c
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
Doug Rabson
0f2a20dfd7
* Tidy up a few things and fix some more warnings.
...
* Change the devsw declaration to standard form and add missing fields
* Change the filename from cdev_mod.ko to cdev.ko
1999-06-27 12:44:44 +00:00
Doug Rabson
e523e96f26
Make this sample build again.
1999-06-25 07:50:26 +00:00
Doug Rabson
abbcaa0a10
Sample modules for KLD.
...
PR: misc/8621
Submitted by: Rajesh Vaidheeswarran <rv@fore.com>
1998-12-11 10:44:31 +00:00