summaryrefslogtreecommitdiff
path: root/lib/libc/gen/disklabel.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix libc build breakage by defining FSTYPENAMES before includingBosko Milekic2002-08-161-0/+1
| | | | | | | | | | disklabel.h; broken originally by 1.87 of sys/disklabel.h, which made the split between DKTYPENAMES and FSTYPENAMES. Someone who knows disklabel.c: do we still need DKTYPENAMES to be defined here now? Notes: svn path=/head/; revision=101993
* Retire the bogus uses of the disklabel field d_sbsize and begin toPoul-Henning Kamp2002-05-121-3/+1
| | | | | | | | | | initialize it to zero so we don't have to have everbody and their aunt including FFS specific header files. Sponsored by: DARPA & NAI Labs. Notes: svn path=/head/; revision=96475
* Catch up with const'ification of <sys/disklabel.h> and quelch warnings.Poul-Henning Kamp2002-04-081-18/+13
| | | | Notes: svn path=/head/; revision=94181
* Initial deorbit burn for the undocumented and unused d_boot[01]Poul-Henning Kamp2002-04-031-5/+0
| | | | | | | | | fields of struct disklabel. Sponsored by: DARPA and NAI Labs. Notes: svn path=/head/; revision=93723
* Cut-n-paste in `list' mode considered harmful.David E. O'Brien2002-02-011-2/+2
| | | | Notes: svn path=/head/; revision=90049
* * Remove __P and convert to ANSI prototypes.David E. O'Brien2002-02-011-10/+8
| | | | | | | | * Remove 'register'. (some functions had 7+ register functions...) * Fix SCM ID's. Notes: svn path=/head/; revision=90045
* Remove _THREAD_SAFE and make libc thread-safe by default byDaniel Eischen2001-01-241-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | adding (weak definitions to) stubs for some of the pthread functions. If the threads library is linked in, the real pthread functions will pulled in. Use the following convention for system calls wrapped by the threads library: __sys_foo - actual system call _foo - weak definition to __sys_foo foo - weak definition to __sys_foo Change all libc uses of system calls wrapped by the threads library from foo to _foo. In order to define the prototypes for _foo(), we introduce namespace.h and un-namespace.h (suggested by bde). All files that need to reference these system calls, should include namespace.h before any standard includes, then include un-namespace.h after the standard includes and before any local includes. <db.h> is an exception and shouldn't be included in between namespace.h and un-namespace.h namespace.h will define foo to _foo, and un-namespace.h will undefine foo. Try to eliminate some of the recursive calls to MT-safe functions in libc/stdio in preparation for adding a mutex to FILE. We have recursive mutexes, but would like to avoid using them if possible. Remove uneeded includes of <errno.h> from a few files. Add $FreeBSD$ to a few files in order to pass commitprep. Approved by: -arch Notes: svn path=/head/; revision=71579
* Add unsigned char cast to isdigitAndrey A. Chernov1999-11-041-1/+1
| | | | Notes: svn path=/head/; revision=52862
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* Don't cast int pointers to long pointers when reading labels fromDoug Rabson1998-09-261-6/+9
| | | | | | | /etc/disktab. Notes: svn path=/head/; revision=39684
* Merge from Lite2:Peter Wemm1997-03-111-1/+2
| | | | | | | | filesystem include updates, duplicate group suppression, cleanups, filesystem whiteout support (unionfs), bidir popen(). Notes: svn path=/head/; revision=23668
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22993
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* Updated a type to match Lite2's fixed-width type changes.Bruce Evans1996-03-191-2/+6
| | | | | | | | | Added $Id$. Obtained from: 4.4BSD-Lite2 Notes: svn path=/head/; revision=14698
* Minor cleanup, mostly unused vars and missing #includes.Poul-Henning Kamp1995-10-221-15/+1
| | | | Notes: svn path=/head/; revision=11659
* BSD 4.4 Lite Lib SourcesRodney W. Grimes1994-05-271-0/+183
Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=1573