diff options
author | Martin Pool <mbp@samba.org> | 2002-01-09 05:27:59 +0000 |
---|---|---|
committer | Martin Pool <mbp@samba.org> | 2002-01-09 05:27:59 +0000 |
commit | bb21af13e36d476e52a6151be1d7bbf9ed6e6412 (patch) | |
tree | 5fcf74ba66e952c550d0a4e2405bea08c8dfdfea /source3/smbd | |
parent | e4bf9af03cf0b7ff589f3ed67838aa210903cc86 (diff) | |
download | samba-bb21af13e36d476e52a6151be1d7bbf9ed6e6412.tar.gz samba-bb21af13e36d476e52a6151be1d7bbf9ed6e6412.tar.bz2 samba-bb21af13e36d476e52a6151be1d7bbf9ed6e6412.zip |
Add UNUSED(paramname) macro to be used in parameter lists, to quieten
gcc warnings about unused parameters.
(This used to be commit b29775d442c36f667a6db5ba9dbe47d1a133525f)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/server.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 08bcf22dd2..a8c1bc5c15 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -80,7 +80,8 @@ static void killkids(void) process a sam sync message - not sure whether to do this here or somewhere else ****************************************************************************/ -static void msg_sam_sync(int msg_type, pid_t pid, void *buf, size_t len) +static void msg_sam_sync(int UNUSED(msg_type), pid_t UNUSED(pid), + void *UNUSED(buf), size_t UNUSED(len)) { DEBUG(10, ("** sam sync message received, ignoring\n")); } |