summaryrefslogtreecommitdiff
path: root/lbl
Commit message (Collapse)AuthorAgeFilesLines
* Use pcap_snprintf() instead of snprintf().Guy Harris2015-11-034-7/+7
| | | | | | | | | | | On UN*Xes with snprintf(), we just #define pcap_snprintf to snprintf. On UN*Xes without snprintf(), we provide our own, but call it pcap_snprintf(). On Windows, we have a routine that wraps _snprintf(), with C99 semantics (ensuring null termination if the string won't fit), called pcap_snprintf(), and use that.
* Get rid of Win32/Src/getservent.c - we don't need it.Guy Harris2015-09-232-3/+0
| | | | | | | | We don't use getservent(), setservent(), or endservent(), so we don't need Win32/Src/getservent.c on Windows. While we're at it, remove declarations of those routines from the old lbl/os-XXX.h files.
* Fix a warning for 'ffs' function on AIX7.Francois-Xavier Le Bail2015-04-291-0/+23
| | | | | | | | | The warning was: ./optimize.c: In function 'opt_j': ./optimize.c:1359:4: warning: implicit declaration of function 'ffs' [-Wimplicit -function-declaration] k = ffs(x) - 1; ^
* Delete trailing spaces/tabsFrancois-Xavier Le Bail2015-03-082-2/+2
|
* remove libpcap's own CVS keywordsDenis Ovsienko2014-01-037-14/+0
| | | | | | This change removes CVS keywords that express that the file belongs to libpcap repository. All such keywords represented the revision and timestamp by the end of 2008 or even older.
* Get rid of a bogus */ in the middle of a comment.guy2002-08-021-2/+2
|
* Additional per-platform "prototypes for functions for which the OSguy2002-06-013-0/+82
| | | | doesn't supply a prototype" headers.
* Declare "pfopen()" in "lbl/os-osf4.h", as Digital don't seem to haveguy2000-12-221-1/+3
| | | | bothered to declare it anywhere in a system header file.
* Add "lbl/os-osf4.h" to declare "snprintf()" and "vsnprintf()", toguy2000-10-211-0/+26
| | | | squelch some compiler warnings.
* Remove from "lbl/os-solaris2.h" declarations of functions we don't use;guy2000-10-111-29/+1
| | | | | | | the declaration of "utimes()" collides with the declaration that SunOS 5.5.1 and later, at least, *do* have. (5.5.1 doesn't declare "snprintf()", even though it has "snprintf()", so we declare it here; we declare some others that don't cause problems.)
* not used any longerassar2000-07-111-43/+0
|
* Initial revisionmcr1999-10-074-0/+351