summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Oops, forgot to commit this (s/ucontext_t/struct __ucontext/).deischen2002-02-171-1/+1
|
* Move user_from_uid to pwd.himp2002-02-143-2/+3
| | | | | | | | | | | | | Move group_from_gid to grp.h Remove from stdlib.h Make the prototypes match the code Fix rm and mv to include new files. NetBSD has these defined in those files, and others too that I've not done. Approved by: terminal room kabal Reviewed by: jhb, phk
* Revert 1.29. It breaks the build. Will figure out a better way to doimp2002-02-131-2/+2
| | | | this that doesn't break things.
* Make the user_from_uid and group_from_gid prototypes match the actualimp2002-02-131-2/+2
| | | | function definitions.
* Apply the following mechanical transformations in preparation fordes2002-02-062-24/+24
| | | | | | | | | | | | | | | | | ansification and constification: s{\s+__P\((\(.*?\))\)}{$1}g; s{\(\s+}{\(}g; s{\s+\)}{\)}g; s{\s+,}{,}g; s{(\s+)(for|if|switch|while)\(}{$1$2 \(}g; s{return ([^\(].*?);}{return ($1);}g; s{([\w\)])([!=+/\*-]?=)([\w\(+-])}{$1 $2 $3}g; s{\s+$}{\n};g Also add $FreeBSD$ where needed. MFC after: 1 week
* Fix cc -Wall, fix rcsid warnings, add missing prototypes,alfred2002-02-052-4/+14
| | | | | | | | | change prototypes to be the same as in the original sun tirpc code. Remove ()P macro in a file where the mayority had ()P already removed. Add them if the mayority use ()P macros. Submitted by: mbr Requested by: bde
* Move arguments in prototype out of application namespace.des2002-02-051-1/+1
| | | | Sponsored by: DARPA, NAI Labs
* Makes __istype() an inline (and a non inlined) function to avoid C++bbraun2002-02-052-4/+14
| | | | | | | | compile issues. std::isspace(' ') was expanding to std::(!!_maskrune...) which would cause a C++ compile error. Making __istype() an inline causes the expansion to be std::__istype() instead, which is valid. Reviewed by: jkh
* Allow ldd(1) be used on shared libraries in addition to executables.sobomax2002-02-041-0/+1
|
* WARNS-n and lint(1) silencer. Declare (const) strings properly asmarkm2002-02-031-1/+1
| | | | 'const char *'.
* Change brk's prototype from char *brk(const char *) to int brk(const void *)dwmalone2002-01-241-2/+2
| | | | | | | | | | | | | | | and sbrk's prototype from char *sbrk(int) to void *sbrk(intptr_t). This makes us more consistant with NetBSD and standards which include these functions. Bruce pointed out that ptrdiff_t would probably have been better than intptr_t, but this doesn't match other implimentations. Also remove local declarations of sbrk and unnecessary casting. PR: 32296 Tested by: Harti Brandt <brandt@fokus.gmd.de> MFC after: 1 month
* Use the proper type (gid_t) for (group)->gr_gid to be orthogonalmarkm2002-01-222-3/+4
| | | | | | with uid_t usage and (user)->pw_uid. PR: 3242
* I've been meaning to do this for a while. Add an underscore to thedillon2002-01-191-8/+8
| | | | | | | | time_to_xxx() and xxx_to_time() functions. e.g. _time_to_xxx() instead of time_to_xxx(), to make it more obvious that these are stopgap functions & placemarkers and not meant to create a defacto standard. They will eventually be replaced when a real standard comes out of committee.
* Add support for C++.mike2002-01-061-0/+2
| | | | | Submitted by: bde PR: 33590
* Fix bugs in the structure for rx_frame by making gap length one byte andambrisko2001-12-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a packed array so sizeof work. This broke RFMON mode and passing up 802.11 packets. The Linux emulation code was derived from the open source Linux driver to maintain compatibility. LEAP support is added, hints from Richard Johnson. I've verified this locally with PC350v42510.img firmware. More bug fixing from Marco to fix long passwords. Change DELAYs in flash part of driver to FLASH_DELAY which uses tsleep so it doesn't look like your system died during a flash update. Install header files in /usr/include/dev/an Cleanup some ifmedia bugs add "Home" key mode to ifmedia and ancontrol. This way you can manage 2 keys a little easier. Map the home mode into key 5. Enhance ifconfig to dump the various configured SSIDs. I use a bunch of different ones and roam between them. Use the syntax similar to the WEP keys to deal with setting difference SSIDs. Bump up up the Card capabilities RID since they added 2 bytes to it in the latest firmware. Thankfully we changed it from a terminal failure so the card still worked but the driver whined. Some cleanup patches from Marco Molteni. Submitted by: Richard Johnson <raj@cisco.com> Marco Molteni <molter@tin.it> and myself Various checks: David Wolfskill <david@catwhisker.org> Reviewed by: Brooks Davis <brooks@freebsd.org> Warner Losh <imp@freebsd.org> Approved by: Brooks Davis <brooks@freebsd.org> Warner Losh <imp@freebsd.org> Obtained from: Linux emulation API's from Aironet driver.
* Fix support for K&R C.mike2001-12-222-2/+3
| | | | MFC after: 3 days
* FILES support for bsd.prog.mk. See bsd.README for details.ru2001-12-171-16/+16
| | | | Stolen from: NetBSD
* Install devfs includes.green2001-12-171-1/+1
|
* Add bmake glue for src/contrib/smbfs and connect userland smbfssheldonh2001-12-141-0/+7
| | | | | | | | | | support to the build. The MFC reminder below is subject to <re@FreeBSD.org> approval prior to 4.5-RELEASE. Reviewed by: bp, fjoe MFC: 1 week
* * style(9)'ifyphantom2001-12-122-8/+8
| | | | | | * add K&R support to langinfo.h Requested by: bde (2)
* Get rid of unsed since rev 1.109 of lib/Makefile WANT_CSRG_LIBM define.phantom2001-12-111-3/+0
| | | | | | | | | We'll never install math.h wrapped by this define since msun's math.h is using, so it should be removed from the source tree at some point (after merge of useful stuff to msun's math.h which is installing now to /usr/include) Reviewed by: bde
* Add my e-mail to copyrightsphantom2001-12-112-2/+2
|
* An extra #ifdef crept in with rev 1.38.obrien2001-12-051-1/+0
|
* Turn back on fmtcheck's attribute checks, guarded for non-GCC compilers.obrien2001-12-041-1/+7
| | | | Submitted by: bde
* Remove the GCC'ism "__attribute__" from the 'fmtcheck' prototype.obrien2001-12-041-2/+1
| | | | I leave it up to someone else to fix this breakage properly.
* Merge from master (crypto) telnet. WARNS fixes for alpha.markm2001-12-031-6/+6
|
* Add a missing underscore.mike2001-12-011-1/+1
| | | | Submitted by: fenner
* o Stop abusing MD headers with non-MD types.mike2001-12-011-9/+49
| | | | | | | | | | | | | | | o Hide nonstandard functions and types in <netinet/in.h> when _POSIX_SOURCE is defined. o Add some missing types (required by POSIX.1-200x) to <netinet/in.h>. o Restore vendor ID from Rev 1.1 in <netinet/in.h> and make use of new __FBSDID() macro. o Fix some miscellaneous issues in <arpa/inet.h>. o Correct final argument for the inet_ntop() function (POSIX.1-200x). o Get rid of the namespace pollution from <sys/types.h> in <arpa/inet.h>. Reviewed by: fenner Partially submitted by: bde
* o Improve consistency of style by fixing tabs around _PATH_AUTHCONF.rwatson2001-11-301-1/+1
|
* o Introduce _PATH_CAPABILITY and _PATH_CAPABILITY_DB to the systemrwatson2001-11-301-0/+2
| | | | | | | path set. These files will hold per-user capability information. Obtained from: TrustedBSD Project Submitted by: tmm
* Oops, actually fix the namespace pollution for atoll() as the previousbde2001-11-291-4/+4
| | | | commit claimed to do.
* Fixed namespace pollution and/or breakage of K&R and C90 support related tobde2001-11-281-16/+21
| | | | | | | | | | | | | | | | | | | | | the following functions in the following commits: - atoll() in revs 1.23-1.25 - llabs() and lldiv() in revs 1.22 - strtoq() and strtouq() in revs 1.18 C99 functions must not be declared in C90/POSIX.1-1990 sections, and "long long" must not be exposed to compilers that don't support it. Fixed style bugs (mainly misindentation and disorder) related the following functions in the following commits: - atoll() in revs 1.23-1.25 - getprogname() in rev.1.21 - sranddev() in revs 1.19-1.20 - strtoq() and strtouq() in rev.1.13 - user_from_uid() in rev.1.1 Breakage of K&R and C90 support used to be avoided by conditializing the "long long"s for strtoq() and strtouq() on __STRICT_ANSI__, but the conditionals should have gone away in rev.1.13 when the "long long"s went away (the problem was moved to the places that declare quad_t and u_quad_t).
* Fixed namespace pollution in previous commit. The C99 functionbde2001-11-281-1/+1
| | | | | sterror_r() must not be declared in the C90/POSIX.1-1990 section. Put it in the nonstandard section for now.
* Whitespace formattingache2001-11-281-1/+2
|
* Fix just added atoll prototypeache2001-11-281-1/+1
|
* Add atoll(3) to conform POSIX and C99ache2001-11-281-0/+1
|
* Add strerror_r function per Posix prototype.wes2001-11-271-0/+1
| | | | | Reviewed by: Mike Barcroft <mike@FreeBSD.org> MFC after: 2 weeks
* Introduce readpassphrase(3), a superset of getpass(3). Thisgreen2001-11-202-1/+48
| | | | | | comes originally from Todd Miller. Obtained from: OpenBSD
* Install LOMAC includes from the new directory.green2001-11-201-2/+2
|
* Use fixed-size fields in the structure for the timed protocol. Thisjhb2001-11-201-4/+9
| | | | | | | | | includes changing a struct timeval to an explicit structure of two int32_t's. This requires using temporary timevals in several places when calling gettimeofday(), settimeofday(), etc. With this timed now works properly on 64-bit platforms such as Alpha. Obtained from: NetBSD
* Install LOMAC public headers.green2001-11-191-0/+5
| | | | Sponsored by: DARPA, NAI Labs (CBOSS project)
* o Implement imaxabs(), imaxdiv(), llabs(), lldiv().mike2001-11-152-2/+15
| | | | | | | o Update abs(3), div(3), labs(3), ldiv(3) to reflect standards conformance and add additional references. Reviewed by: bde, wollman
* NFS split forgot to prototype nfsclnt() syscall, do it.alfred2001-11-131-0/+1
|
* - Put missing prototype for rcmd() in <unistd.h>.ru2001-11-091-0/+2
| | | | | | | - Clean up the manpage. - style(9) rcmdsh.c. Committed from: BSDCon/EU 2k+1 terminal room
* Traditionally work in the -traditional case.obrien2001-11-071-0/+4
| | | | Submitted by: joerg
* Remove FreeBSD/vax and FreeBSD/tahoe support.peter2001-11-031-17/+1
| | | | | | Add $FreeBSD$ Submitted by: phk
* o Add new header <sys/stdint.h>.mike2001-11-022-2/+56
| | | | | | | | | | | | | | | | | | | | | o Make <stdint.h> a symbolic link to <sys/stdint.h>. o Move most of <sys/inttypes.h> into <sys/stdint.h>, as per C99. o Remove <sys/inttypes.h>. o Adjust includes in sys/types.h and boot/efi/include/ia64/efibind.h to reflect new location of integer types in <sys/stdint.h>. o Remove previously symbolicly linked <inttypes.h>, instead create a new file. o Add MD headers <machine/_inttypes.h> from NetBSD. o Include <sys/stdint.h> in <inttypes.h>, as required by C99; and include <machine/_inttypes.h> in <inttypes.h>, to fill in the remaining requirements for <inttypes.h>. o Add additional integer types in <machine/ansi.h> and <machine/limits.h> which are included via <sys/stdint.h>. Partially obtain from: NetBSD Tested on: alpha, i386 Discussed on: freebsd-standards@bostonradio.org Reviewed by: bde, fenner, obrien, wollman
* Add time_to_int(), int_to_time(), time_to_long(), long_to_time().dillon2001-10-281-0/+4
|
* Make the protocol/dumprestore.h header match restore's idea of the dumpdillon2001-10-281-2/+4
| | | | | | | | header for the case where sizeof(time_t) != sizeof(int). dumprestore.h was embedding time_t when it should have been embedding int32_t. Use time_to_time32() and time32_to_time() to convert between the protocoll/file-format time and time_t.
* Add routines to convert time_t to/from fixed-bit fields. These routinesdillon2001-10-281-0/+7
| | | | | | | | | | | | | | | | | | | serve two purposes: (1) so we can maintain backwards compatibility with protocols (rwhod, dump, etc...) that either assume time_t is 32 bits or assume sizeof(time_t) == sizeof(int), or make other similar assumptions. (2) To tag such routines (by the presence of these calls) for future cleanup/extension work. The 32->64 routine, time32_to_time() (when time_t is 64 bits, that is), is defined specifically to implement temporal locality to properly set the msb bits of a 64 bit time_t quantity, using the 50 year rule. The locality code has not been implemented yet (and doesn't need to be for a while), but that is the intent. This will allow us to maintain backwards protocol compatibility past 2038. These routines are intended to be platform and time_t agnostic. MFC after: 1 week
OpenPOWER on IntegriCloud