summaryrefslogtreecommitdiffstats
path: root/source/smbd/server.c
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2002-01-09 05:27:59 +0000
committerMartin Pool <mbp@samba.org>2002-01-09 05:27:59 +0000
commitb29775d442c36f667a6db5ba9dbe47d1a133525f (patch)
tree7c4ab50554736df86741537f3c25e3a6e8a5dd67 /source/smbd/server.c
parent3ef135e91aaebf9648c4dd13f59686f57f4cff70 (diff)
downloadsamba-b29775d442c36f667a6db5ba9dbe47d1a133525f.tar.gz
samba-b29775d442c36f667a6db5ba9dbe47d1a133525f.tar.xz
samba-b29775d442c36f667a6db5ba9dbe47d1a133525f.zip
Add UNUSED(paramname) macro to be used in parameter lists, to quieten
gcc warnings about unused parameters.
Diffstat (limited to 'source/smbd/server.c')
-rw-r--r--source/smbd/server.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/smbd/server.c b/source/smbd/server.c
index 08bcf22dd29..a8c1bc5c15e 100644
--- a/source/smbd/server.c
+++ b/source/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"));
}