diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-10 16:18:05 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-10 16:18:05 +0000 |
commit | 41f386f6abeff1577812a58ccd1d416a5389a85b (patch) | |
tree | 3ee569097d9a3ca4edb6c7bad3aef801215ffa69 | |
parent | a244eb773908fa1f86a61ab52f2cad6224017e88 (diff) | |
download | rsyslog-41f386f6abeff1577812a58ccd1d416a5389a85b.tar.gz rsyslog-41f386f6abeff1577812a58ccd1d416a5389a85b.tar.xz rsyslog-41f386f6abeff1577812a58ccd1d416a5389a85b.zip |
some cleanup
-rw-r--r-- | iminternal.c | 2 | ||||
-rw-r--r-- | rsyslog.h | 8 | ||||
-rw-r--r-- | stream.c | 4 | ||||
-rw-r--r-- | sync.h | 2 |
4 files changed, 8 insertions, 8 deletions
diff --git a/iminternal.c b/iminternal.c index 0432e0f2..a45fd52e 100644 --- a/iminternal.c +++ b/iminternal.c @@ -79,7 +79,7 @@ finalize_it: *ppThis = pThis; return iRet; -}; +} /* add a message to the linked list @@ -142,13 +142,13 @@ enum rsObjectID * invalid object pointer! */ OIDrsInvalid = 0, /**< value created by calloc(), so do not use ;) */ - /* The 0xEFCD is a debug aid. It helps us find object IDs in memory - * dumps (on X86, this is CDEF in the dump ;) + /* The 0x3412 is a debug aid. It helps us find object IDs in memory + * dumps (on X86, this is 1234 in the dump ;) * If you are on an embedded device and you would like to save space * make them 1 byte only. */ - OIDrsCStr = 0xEFCD0001, - OIDrsPars = 0xEFCD0002 + OIDrsCStr = 0x34120001, + OIDrsPars = 0x34120002 }; typedef enum rsObjectID rsObjID; @@ -490,8 +490,8 @@ finalize_it: DEFpropSetMeth(strm, bDeleteOnClose, int) DEFpropSetMeth(strm, iMaxFileSize, int) DEFpropSetMeth(strm, iFileNumDigits, int) -DEFpropSetMeth(strm, tOperationsMode, int); -DEFpropSetMeth(strm, tOpenMode, mode_t); +DEFpropSetMeth(strm, tOperationsMode, int) +DEFpropSetMeth(strm, tOpenMode, mode_t) rsRetVal strmSetiMaxFiles(strm_t *pThis, int iNewVal) { @@ -30,7 +30,7 @@ * SYNC_OBJ_TOOL_INIT must be called upon of object construction and * SUNC_OBJ_TOOL_EXIT must be called upon object destruction */ -#define SYNC_OBJ_TOOL pthread_mutex_t *Sync_mut; +#define SYNC_OBJ_TOOL pthread_mutex_t *Sync_mut #define SYNC_OBJ_TOOL_INIT(x) SyncObjInit(&((x)->Sync_mut)) #define SYNC_OBJ_TOOL_EXIT(x) SyncObjExit(&((x)->Sync_mut)) |