diff options
author | Mike Buland <eichlan@xagasoft.com> | 2007-06-28 20:49:39 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2007-06-28 20:49:39 +0000 |
commit | 932677862376e9642a496a15b7f09f1106f495a5 (patch) | |
tree | 0684fe4805b3c293cdef8b07247789d70ac2dbd3 /src | |
parent | d35ef3b116e793dca1c9c5b07e47aec44b109c25 (diff) | |
download | libbu++-932677862376e9642a496a15b7f09f1106f495a5.tar.gz libbu++-932677862376e9642a496a15b7f09f1106f495a5.tar.bz2 libbu++-932677862376e9642a496a15b7f09f1106f495a5.tar.xz libbu++-932677862376e9642a496a15b7f09f1106f495a5.zip |
Many minor changes, hopefully the header fixes will keep future header macro
conflicts from happening. And, from now on, other projects should do -Ilibbu++
not -Ilibbu++/src so we can get ready for an installed version of libbu++.
Diffstat (limited to 'src')
-rw-r--r-- | src/archival.h | 4 | ||||
-rw-r--r-- | src/archive.h | 4 | ||||
-rw-r--r-- | src/atom.h | 4 | ||||
-rw-r--r-- | src/bzip2.h | 4 | ||||
-rw-r--r-- | src/client.h | 4 | ||||
-rw-r--r-- | src/exceptionbase.h | 4 | ||||
-rw-r--r-- | src/exceptions.h | 4 | ||||
-rw-r--r-- | src/file.h | 4 | ||||
-rw-r--r-- | src/filter.h | 4 | ||||
-rw-r--r-- | src/fstring.h | 4 | ||||
-rw-r--r-- | src/hash.h | 4 | ||||
-rw-r--r-- | src/ito.h | 4 | ||||
-rw-r--r-- | src/itoatom.h | 4 | ||||
-rw-r--r-- | src/itocondition.h | 4 | ||||
-rw-r--r-- | src/itomutex.h | 4 | ||||
-rw-r--r-- | src/itoqueue.h | 4 | ||||
-rw-r--r-- | src/linkmessage.h | 4 | ||||
-rw-r--r-- | src/list.h | 4 | ||||
-rw-r--r-- | src/membuf.h | 4 | ||||
-rw-r--r-- | src/paramproc.h | 4 | ||||
-rw-r--r-- | src/plugger.h | 4 | ||||
-rw-r--r-- | src/programchain.h | 4 | ||||
-rw-r--r-- | src/programlink.h | 4 | ||||
-rw-r--r-- | src/protocol.h | 4 | ||||
-rw-r--r-- | src/ringbuffer.h | 4 | ||||
-rw-r--r-- | src/server.h | 4 | ||||
-rw-r--r-- | src/serversocket.h | 4 | ||||
-rw-r--r-- | src/singleton.h | 4 | ||||
-rw-r--r-- | src/socket.h | 4 | ||||
-rw-r--r-- | src/sptr.h | 4 | ||||
-rw-r--r-- | src/stream.h | 4 | ||||
-rw-r--r-- | src/unitsuite.h | 4 |
32 files changed, 64 insertions, 64 deletions
diff --git a/src/archival.h b/src/archival.h index e2c803c..8be3308 100644 --- a/src/archival.h +++ b/src/archival.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ARCHIVAL_H | 1 | #ifndef BU_ARCHIVAL_H |
2 | #define ARCHIVAL_H | 2 | #define BU_ARCHIVAL_H |
3 | 3 | ||
4 | namespace Bu | 4 | namespace Bu |
5 | { | 5 | { |
diff --git a/src/archive.h b/src/archive.h index 05c6f57..6c0c1df 100644 --- a/src/archive.h +++ b/src/archive.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ARCHIVE_H | 1 | #ifndef BU_ARCHIVE_H |
2 | #define ARCHIVE_H | 2 | #define BU_ARCHIVE_H |
3 | 3 | ||
4 | #include <stdint.h> | 4 | #include <stdint.h> |
5 | #include <string> | 5 | #include <string> |
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ATOM_H | 1 | #ifndef BU_ATOM_H |
2 | #define ATOM_H | 2 | #define BU_ATOM_H |
3 | 3 | ||
4 | #include <stdint.h> | 4 | #include <stdint.h> |
5 | #include <memory> | 5 | #include <memory> |
diff --git a/src/bzip2.h b/src/bzip2.h index 25f10c5..0a111e8 100644 --- a/src/bzip2.h +++ b/src/bzip2.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef B_ZIP2_H | 1 | #ifndef BU_BZIP2_H |
2 | #define B_ZIP2_H | 2 | #define BU_BZIP2_H |
3 | 3 | ||
4 | #include <stdint.h> | 4 | #include <stdint.h> |
5 | #include <bzlib.h> | 5 | #include <bzlib.h> |
diff --git a/src/client.h b/src/client.h index 02ba077..cee558d 100644 --- a/src/client.h +++ b/src/client.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef CLIENT_H | 1 | #ifndef BU_CLIENT_H |
2 | #define CLIENT_H | 2 | #define BU_CLIENT_H |
3 | 3 | ||
4 | #include <stdint.h> | 4 | #include <stdint.h> |
5 | 5 | ||
diff --git a/src/exceptionbase.h b/src/exceptionbase.h index fd78089..24e4bbf 100644 --- a/src/exceptionbase.h +++ b/src/exceptionbase.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef EXCEPTION_BASE_H | 1 | #ifndef BU_EXCEPTION_BASE_H |
2 | #define EXCEPTION_BASE_H | 2 | #define BU_EXCEPTION_BASE_H |
3 | 3 | ||
4 | #include <string> | 4 | #include <string> |
5 | #include <exception> | 5 | #include <exception> |
diff --git a/src/exceptions.h b/src/exceptions.h index d5a9d39..b824b91 100644 --- a/src/exceptions.h +++ b/src/exceptions.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef EXCEPTIONS_H | 1 | #ifndef BU_EXCEPTIONS_H |
2 | #define EXCEPTIONS_H | 2 | #define BU_EXCEPTIONS_H |
3 | 3 | ||
4 | #include "exceptionbase.h" | 4 | #include "exceptionbase.h" |
5 | #include <stdarg.h> | 5 | #include <stdarg.h> |
@@ -1,5 +1,5 @@ | |||
1 | #ifndef FILE_H | 1 | #ifndef BU_FILE_H |
2 | #define FILE_H | 2 | #define BU_FILE_H |
3 | 3 | ||
4 | #include <stdint.h> | 4 | #include <stdint.h> |
5 | 5 | ||
diff --git a/src/filter.h b/src/filter.h index 7bb04bc..bd557b2 100644 --- a/src/filter.h +++ b/src/filter.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef FILTER_H | 1 | #ifndef BU_FILTER_H |
2 | #define FILTER_H | 2 | #define BU_FILTER_H |
3 | 3 | ||
4 | #include <stdint.h> | 4 | #include <stdint.h> |
5 | 5 | ||
diff --git a/src/fstring.h b/src/fstring.h index 7180f5f..bf6518b 100644 --- a/src/fstring.h +++ b/src/fstring.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef F_STRING_H | 1 | #ifndef BU_F_STRING_H |
2 | #define F_STRING_H | 2 | #define BU_F_STRING_H |
3 | 3 | ||
4 | #include <stdint.h> | 4 | #include <stdint.h> |
5 | #include <memory> | 5 | #include <memory> |
@@ -1,5 +1,5 @@ | |||
1 | #ifndef HASH_H | 1 | #ifndef BU_HASH_H |
2 | #define HASH_H | 2 | #define BU_HASH_H |
3 | 3 | ||
4 | #include <stddef.h> | 4 | #include <stddef.h> |
5 | #include <string.h> | 5 | #include <string.h> |
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ITO_H | 1 | #ifndef BU_ITO_H |
2 | #define ITO_H | 2 | #define BU_ITO_H |
3 | 3 | ||
4 | #include <pthread.h> | 4 | #include <pthread.h> |
5 | 5 | ||
diff --git a/src/itoatom.h b/src/itoatom.h index 96090f2..7fc9090 100644 --- a/src/itoatom.h +++ b/src/itoatom.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ITO_QUEUE_H | 1 | #ifndef BU_ITO_QUEUE_H |
2 | #define ITO_QUEUE_H | 2 | #define BU_ITO_QUEUE_H |
3 | 3 | ||
4 | #include <pthread.h> | 4 | #include <pthread.h> |
5 | 5 | ||
diff --git a/src/itocondition.h b/src/itocondition.h index 4771b22..1793f81 100644 --- a/src/itocondition.h +++ b/src/itocondition.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ITO_CONDITION_H | 1 | #ifndef BU_ITO_CONDITION_H |
2 | #define ITO_CONDITION_H | 2 | #define BU_ITO_CONDITION_H |
3 | 3 | ||
4 | #include <pthread.h> | 4 | #include <pthread.h> |
5 | 5 | ||
diff --git a/src/itomutex.h b/src/itomutex.h index 80956b8..9c9d205 100644 --- a/src/itomutex.h +++ b/src/itomutex.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ITO_MUTEX_H | 1 | #ifndef BU_ITO_MUTEX_H |
2 | #define ITO_MUTEX_H | 2 | #define BU_ITO_MUTEX_H |
3 | 3 | ||
4 | #include <pthread.h> | 4 | #include <pthread.h> |
5 | 5 | ||
diff --git a/src/itoqueue.h b/src/itoqueue.h index 322698d..75a2f27 100644 --- a/src/itoqueue.h +++ b/src/itoqueue.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ITO_QUEUE_H | 1 | #ifndef BU_ITO_QUEUE_H |
2 | #define ITO_QUEUE_H | 2 | #define BU_ITO_QUEUE_H |
3 | 3 | ||
4 | #include <pthread.h> | 4 | #include <pthread.h> |
5 | 5 | ||
diff --git a/src/linkmessage.h b/src/linkmessage.h index 64b8bc2..baa22a6 100644 --- a/src/linkmessage.h +++ b/src/linkmessage.h | |||
@@ -1,8 +1,8 @@ | |||
1 | /**\file linkmessage.h | 1 | /**\file linkmessage.h |
2 | */ | 2 | */ |
3 | 3 | ||
4 | #ifndef LINKMESSAGE_H | 4 | #ifndef BU_LINKMESSAGE_H |
5 | #define LINKMESSAGE_H | 5 | #define BU_LINKMESSAGE_H |
6 | 6 | ||
7 | namespace Bu | 7 | namespace Bu |
8 | { | 8 | { |
@@ -1,5 +1,5 @@ | |||
1 | #ifndef LIST_H | 1 | #ifndef BU_LIST_H |
2 | #define LIST_H | 2 | #define BU_LIST_H |
3 | 3 | ||
4 | #include <memory> | 4 | #include <memory> |
5 | #include "bu/exceptionbase.h" | 5 | #include "bu/exceptionbase.h" |
diff --git a/src/membuf.h b/src/membuf.h index 877b35e..b82f943 100644 --- a/src/membuf.h +++ b/src/membuf.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef MEM_BUF_H | 1 | #ifndef BU_MEM_BUF_H |
2 | #define MEM_BUF_H | 2 | #define BU_MEM_BUF_H |
3 | 3 | ||
4 | #include <stdint.h> | 4 | #include <stdint.h> |
5 | 5 | ||
diff --git a/src/paramproc.h b/src/paramproc.h index beee4a0..2bca588 100644 --- a/src/paramproc.h +++ b/src/paramproc.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef PARAM_PROC_H | 1 | #ifndef BU_PARAM_PROC_H |
2 | #define PARAM_PROC_H | 2 | #define BU_PARAM_PROC_H |
3 | 3 | ||
4 | #include <stdint.h> | 4 | #include <stdint.h> |
5 | #include <string> | 5 | #include <string> |
diff --git a/src/plugger.h b/src/plugger.h index 4d2e7af..79a3271 100644 --- a/src/plugger.h +++ b/src/plugger.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef PLUGGER_H | 1 | #ifndef BU_PLUGGER_H |
2 | #define PLUGGER_H | 2 | #define BU_PLUGGER_H |
3 | 3 | ||
4 | 4 | ||
5 | #include "bu/hash.h" | 5 | #include "bu/hash.h" |
diff --git a/src/programchain.h b/src/programchain.h index e73d659..336a9f1 100644 --- a/src/programchain.h +++ b/src/programchain.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef PROGRAMCHAIN_H | 1 | #ifndef BU_PROGRAMCHAIN_H |
2 | #define PROGRAMCHAIN_H | 2 | #define BU_PROGRAMCHAIN_H |
3 | 3 | ||
4 | #include "bu/list.h" | 4 | #include "bu/list.h" |
5 | #include "bu/linkmessage.h" | 5 | #include "bu/linkmessage.h" |
diff --git a/src/programlink.h b/src/programlink.h index 7c31a18..07d7489 100644 --- a/src/programlink.h +++ b/src/programlink.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef PROGRAMLINK_H | 1 | #ifndef BU_PROGRAMLINK_H |
2 | #define PROGRAMLINK_H | 2 | #define BU_PROGRAMLINK_H |
3 | 3 | ||
4 | #include "bu/linkmessage.h" | 4 | #include "bu/linkmessage.h" |
5 | #include "bu/programchain.h" | 5 | #include "bu/programchain.h" |
diff --git a/src/protocol.h b/src/protocol.h index 3accd99..c7a9275 100644 --- a/src/protocol.h +++ b/src/protocol.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef PROTOCOL_H | 1 | #ifndef BU_PROTOCOL_H |
2 | #define PROTOCOL_H | 2 | #define BU_PROTOCOL_H |
3 | 3 | ||
4 | #include <stdint.h> | 4 | #include <stdint.h> |
5 | 5 | ||
diff --git a/src/ringbuffer.h b/src/ringbuffer.h index 625f65b..be80e2f 100644 --- a/src/ringbuffer.h +++ b/src/ringbuffer.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef RING_BUFFER_H | 1 | #ifndef BU_RING_BUFFER_H |
2 | #define RING_BUFFER_H | 2 | #define BU_RING_BUFFER_H |
3 | 3 | ||
4 | #include <memory> | 4 | #include <memory> |
5 | #include "bu/exceptionbase.h" | 5 | #include "bu/exceptionbase.h" |
diff --git a/src/server.h b/src/server.h index 07eef95..302b6e3 100644 --- a/src/server.h +++ b/src/server.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef SERVER_H | 1 | #ifndef BU_SERVER_H |
2 | #define SERVER_H | 2 | #define BU_SERVER_H |
3 | 3 | ||
4 | #include <stdint.h> | 4 | #include <stdint.h> |
5 | 5 | ||
diff --git a/src/serversocket.h b/src/serversocket.h index cb86078..b4ee247 100644 --- a/src/serversocket.h +++ b/src/serversocket.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef SERVER_SOCKET_H | 1 | #ifndef BU_SERVER_SOCKET_H |
2 | #define SERVER_SOCKET_H | 2 | #define BU_SERVER_SOCKET_H |
3 | 3 | ||
4 | #include <stdint.h> | 4 | #include <stdint.h> |
5 | #include "bu/fstring.h" | 5 | #include "bu/fstring.h" |
diff --git a/src/singleton.h b/src/singleton.h index 4976a61..c43d71b 100644 --- a/src/singleton.h +++ b/src/singleton.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef SINGLETON_H | 1 | #ifndef BU_SINGLETON_H |
2 | #define SINGLETON_H | 2 | #define BU_SINGLETON_H |
3 | 3 | ||
4 | #include <stdio.h> | 4 | #include <stdio.h> |
5 | 5 | ||
diff --git a/src/socket.h b/src/socket.h index c9dbd8d..0ccee3b 100644 --- a/src/socket.h +++ b/src/socket.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef SOCKET_H | 1 | #ifndef BU_SOCKET_H |
2 | #define SOCKET_H | 2 | #define BU_SOCKET_H |
3 | 3 | ||
4 | #include <stdint.h> | 4 | #include <stdint.h> |
5 | 5 | ||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef SPTR_H | 1 | #ifndef BU_SPTR_H |
2 | #define SPTR_H | 2 | #define BU_SPTR_H |
3 | 3 | ||
4 | #include <stdint.h> | 4 | #include <stdint.h> |
5 | #include <stdio.h> | 5 | #include <stdio.h> |
diff --git a/src/stream.h b/src/stream.h index 056de0c..1e236a6 100644 --- a/src/stream.h +++ b/src/stream.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef STREAM_H | 1 | #ifndef BU_STREAM_H |
2 | #define STREAM_H | 2 | #define BU_STREAM_H |
3 | 3 | ||
4 | #include <stdint.h> | 4 | #include <stdint.h> |
5 | #include <stdio.h> | 5 | #include <stdio.h> |
diff --git a/src/unitsuite.h b/src/unitsuite.h index 6e9270a..578b4cc 100644 --- a/src/unitsuite.h +++ b/src/unitsuite.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef UNIT_SUITE_H | 1 | #ifndef BU_UNIT_SUITE_H |
2 | #define UNIT_SUITE_H | 2 | #define BU_UNIT_SUITE_H |
3 | 3 | ||
4 | #include <stdint.h> | 4 | #include <stdint.h> |
5 | #include <list> | 5 | #include <list> |