Commit Graph

50 Commits

Author SHA1 Message Date
isaki
2ccb98927e Obsolete pow(4) and rtcalarm(8). Discussed in port-x68k@.
Probably the combination of pow(4) ioctl and rtcalarm(8) does
not work for a long time, and nobody uses them.
I'll rewrite a part about power switch handler as a new device.
2011-11-19 12:27:42 +00:00
christos
8da9796673 fix non-literal format strings 2011-08-25 17:00:55 +00:00
tsutsui
f893ffa835 Set WARNS in common Makefile.inc. 2011-05-19 21:40:11 +00:00
tsutsui
a0e931c0ee WARNSfy.
XXX: rtcalarm/rtcalarm.c refers obsolete /dev/pow0
2011-05-19 21:26:38 +00:00
christos
a216f4df59 fix header includes 2011-05-19 03:22:27 +00:00
isaki
edbd2d71a0 Modernize and clean up. 2009-11-28 02:56:14 +00:00
dsl
82357f6d42 ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
2009-03-14 21:04:01 +00:00
dsl
454af1c0e8 Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
2009-03-14 15:35:58 +00:00
dsl
02cdf4d2c8 Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
2009-03-14 14:45:51 +00:00
isaki
cf59801230 x68k pow(4) now uses MI sysmon_pswitch framework. suggested by tsutsui@.
- Make MD poffd(8) retire, and use MI powerd(8) instead of it.
- Make /dev/pow1 retire, because nobody holds /dev/pow0 any longer.
  Use /dev/pow0 for pow(4) ioctl.
- POWIOCSSIGNAL ioctl which is for poffd(8) is also obsoleted.
2008-12-20 13:20:58 +00:00
christos
53524e44ef Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
mhitch
74f4d61b61 gcc4 fix: change a couple of volatile void functions. 2006-08-04 02:32:30 +00:00
mhitch
710f94acb4 gcc4 fix: needs string.h 2006-08-04 02:30:48 +00:00
mhitch
856bf4faf5 gcc4 fix: needs stdlib.h 2006-08-04 02:30:00 +00:00
perry
5f1c88d70d Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete. 2005-12-24 20:06:46 +00:00
christos
95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
minoura
72c4550293 Populate kbdmap-related definitions to the userland.
Also g/c unused ioctls.
Pointed out by he.
2004-05-12 14:25:08 +00:00
minoura
6915327794 An unexported header file was #included from an exported header file.
Introduce <machine/opmreg.h> and move some definitions useful to
userland progs.
2004-05-08 08:38:36 +00:00
isaki
589895ff03 Delete unnecessary RCSID. 2003-08-28 09:47:07 +00:00
he
672a3f174d Use "${COMPILE.c}" instead of "$(CC) -c", so as to pick up the correct
include files when cross-compiling.
2003-07-16 07:25:51 +00:00
lukem
ab48a212f9 rcsid 2003-07-15 01:44:50 +00:00
isaki
1175e83334 Style fix. 2003-05-17 10:38:55 +00:00
isaki
31e6e287c2 Style and indent fix. 2003-05-17 10:37:55 +00:00
isaki
29d1fbba67 More style fix. 2003-05-17 10:11:19 +00:00
isaki
8e975eac87 Use err(3), instead of original error(). 2003-05-17 09:55:43 +00:00
isaki
0b4ed52e83 Style and indent fix. 2003-05-17 09:43:58 +00:00
isaki
b397b57870 Correct argument type of isdigit().
PR port-x68k/21173 by Christian Biere.
2003-05-17 09:24:15 +00:00
wiz
5514d0b117 bcopy/bcmp/bzero -> memcpy/memcmp/memset 2001-12-27 02:23:24 +00:00
tv
8e6f7afb5b MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
tv
ab11c169b5 objcopy -> ${OBJCOPY}; remove redundant definitions of OBJCOPY?= (it is
now in bsd.own.mk).
2001-09-22 03:34:17 +00:00
minoura
9f9181afde Use objcopy instead of dd. This will work after we'll switch to ELF.
Using command directly breaks cross compilation.  Use macro instead.
2000-11-25 05:27:19 +00:00
minoura
3094e3b89d include <sys/types.h> to define u_int. 2000-07-31 23:40:02 +00:00
minoura
4d4c982aa3 all -> realall. 2000-04-16 14:19:53 +00:00
minoura
ba80d2c6d7 Merged minoura_x68k_bus_h branch. 1999-03-16 16:30:16 +00:00
lukem
dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
itohy
cd16d23d21 Make it compile again.
Use err(3) functions.
KNF
1999-01-13 10:23:40 +00:00
minoura
d082dd3db4 Moved grfioctl.h and iteioctl.h to the public include directory. 1998-08-06 14:08:53 +00:00
minoura
ea7f1dbe36 Some files were not deleted with make clean.
Keymap files are now installed in /usr/share/keymaps/x68k.
1998-08-04 16:39:55 +00:00
minoura
aced90770c Message fixes. 1998-08-04 16:10:45 +00:00
perry
b46484bb8a RCSID Police. 1998-01-05 20:51:25 +00:00
lukem
2793a8e02a use CPPFLAGS instead of CFLAGS 1997-10-26 22:09:43 +00:00
lukem
28558b28eb rcsid fascism 1997-10-13 14:22:22 +00:00
mrg
829a5a9063 move man pages into share/man. 1997-06-22 07:02:27 +00:00
thorpej
0794023752 RCS id police. 1996-08-30 17:43:56 +00:00
oki
6b8ffeacd0 fixed format error 1996-07-08 16:36:28 +00:00
oki
3e629c7765 deleted invalid MANDIR line. 1996-06-15 20:15:54 +00:00
oki
5e55373e7a change BINDIR /usr/local/bin --> /usr/bin 1996-06-14 05:16:53 +00:00
oki
4781b7d291 binary file. (PR#2383) 1996-05-09 16:11:56 +00:00
oki
70f5d6ae04 Initial revision 1996-05-05 12:17:14 +00:00
oki
320e7320ef NetBSD/x68k, by Masaru Oki. 1996-05-05 12:17:03 +00:00