summaryrefslogtreecommitdiff
path: root/libpipe
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-07-31 16:53:36 +0000
committerMiles Bader <miles@gnu.org>1995-07-31 16:53:36 +0000
commit3d925e8af601e8f6ac2c71a3221d774162a5cece (patch)
tree130d9f3f19177849f0f3661624b3cdc68cef2b9d /libpipe
parent9cda8e6760736cbddc466ae6125aa2a4e666e147 (diff)
(stream_pipe_class, dgram_pipe_class, seqpack_pipe_class):
Make these declarations extern so they don't fuck up initialization. (seqpacket_pipe_class): Renamed to `seqpack_pipe_class'.
Diffstat (limited to 'libpipe')
-rw-r--r--libpipe/pipe.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libpipe/pipe.h b/libpipe/pipe.h
index 022db1f3..f24a2ca4 100644
--- a/libpipe/pipe.h
+++ b/libpipe/pipe.h
@@ -48,9 +48,9 @@ struct pipe_class
#define PIPE_CLASS_CONNECTIONLESS 0x1 /* A non-stream protocol. */
/* Some pre-defined pipe_classes. */
-struct pipe_class *stream_pipe_class;
-struct pipe_class *dgram_pipe_class;
-struct pipe_class *seqpacket_pipe_class;
+extern struct pipe_class *stream_pipe_class;
+extern struct pipe_class *dgram_pipe_class;
+extern struct pipe_class *seqpack_pipe_class;
/* A unidirectional data pipe; it transfers data from READER to WRITER. */
struct pipe