summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorIgor Sobrado <sobrado@cvs.openbsd.org>2011-07-07 14:25:16 +0000
committerIgor Sobrado <sobrado@cvs.openbsd.org>2011-07-07 14:25:16 +0000
commitabb44b25f24931aeec1825cceafb95f2057e6bd8 (patch)
treeb97b1805131a1aac8d50c04c3ce04bed849f2428 /lib
parent02581333efd2c3d4bf8319a84e229736aa277544 (diff)
fix typos; while here, improve spacing in comments.
changes to libevent and zlib headers sent to the upstream maintainers. ok jmc@ (for typos), millert@
Diffstat (limited to 'lib')
-rw-r--r--lib/libevent/event.h6
-rw-r--r--lib/libz/zlib.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/libevent/event.h b/lib/libevent/event.h
index da92822aa28..275da704360 100644
--- a/lib/libevent/event.h
+++ b/lib/libevent/event.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: event.h,v 1.23 2010/05/31 20:56:42 nicm Exp $ */
+/* $OpenBSD: event.h,v 1.24 2011/07/07 14:25:15 sobrado Exp $ */
/*
* Copyright (c) 2000-2007 Niels Provos <provos@citi.umich.edu>
@@ -50,7 +50,7 @@
to redesign the applications. As a result, Libevent allows for portable
application development and provides the most scalable event notification
mechanism available on an operating system. Libevent can also be used for
- multi-threaded aplications; see Steven Grimm's explanation. Libevent should
+ multi-threaded applications; see Steven Grimm's explanation. Libevent should
compile on Linux, *BSD, Mac OS X, Solaris and Windows.
@section usage Standard usage
@@ -185,7 +185,7 @@ extern "C" {
#define EV_READ 0x02
#define EV_WRITE 0x04
#define EV_SIGNAL 0x08
-#define EV_PERSIST 0x10 /* Persistant event */
+#define EV_PERSIST 0x10 /* Persistent event */
struct event_base;
#ifndef EVENT_NO_STRUCT
diff --git a/lib/libz/zlib.h b/lib/libz/zlib.h
index baa3d076b51..bf4ee35dedc 100644
--- a/lib/libz/zlib.h
+++ b/lib/libz/zlib.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: zlib.h,v 1.9 2005/07/20 15:56:41 millert Exp $ */
+/* $OpenBSD: zlib.h,v 1.10 2011/07/07 14:25:15 sobrado Exp $ */
/* zlib.h -- interface of the 'zlib' general purpose compression library
version 1.2.3, July 18th, 2005
@@ -271,7 +271,7 @@ ZEXTERN int ZEXPORT deflate OF((z_streamp strm, int flush));
output buffer because there might be more output pending.
Normally the parameter flush is set to Z_NO_FLUSH, which allows deflate to
- decide how much data to accumualte before producing output, in order to
+ decide how much data to accumulate before producing output, in order to
maximize compression.
If the parameter flush is set to Z_SYNC_FLUSH, all pending output is
@@ -870,7 +870,7 @@ ZEXTERN int ZEXPORT inflateBackInit OF((z_streamp strm, int windowBits,
See inflateBack() for the usage of these routines.
inflateBackInit will return Z_OK on success, Z_STREAM_ERROR if any of
- the paramaters are invalid, Z_MEM_ERROR if the internal state could not
+ the parameters are invalid, Z_MEM_ERROR if the internal state could not
be allocated, or Z_VERSION_ERROR if the version of the library does not
match the version of the header file.
*/