From 55ed1d59455566d90a03e7123fbf7a05a4bd4539 Mon Sep 17 00:00:00 2001 From: Herb Lewis Date: Tue, 19 Dec 2006 20:16:52 +0000 Subject: r20261: merge 20260 from samba_3_0_24 clean up a bunch of no previous prototype warnings (This used to be commit c60687db112405262adf26dbf267804b04074e67) --- source3/torture/locktest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/torture/locktest.c') diff --git a/source3/torture/locktest.c b/source3/torture/locktest.c index 31fd0225f8..d248a9459d 100644 --- a/source3/torture/locktest.c +++ b/source3/torture/locktest.c @@ -54,14 +54,14 @@ extern int optind; enum lock_op {OP_LOCK, OP_UNLOCK, OP_REOPEN}; -const char *lock_op_type(int op) +static const char *lock_op_type(int op) { if (op == WRITE_LOCK) return "write"; else if (op == READ_LOCK) return "read"; else return "other"; } -const char *lock_op_name(enum lock_op op) +static const char *lock_op_name(enum lock_op op) { if (op == OP_LOCK) return "lock"; else if (op == OP_UNLOCK) return "unlock"; -- cgit