diff options
author | Herb Lewis <herb@samba.org> | 2006-12-12 20:15:47 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:16:26 -0500 |
commit | 6914b29daa6700f0d4f1b93866074ce71f63a626 (patch) | |
tree | 2fa2a70f6b5a89a5460c7fa2adcbda864489497d /source3/smbd | |
parent | 791f48f167de339c8ae371e5c80706511fd10018 (diff) | |
download | samba-6914b29daa6700f0d4f1b93866074ce71f63a626.tar.gz samba-6914b29daa6700f0d4f1b93866074ce71f63a626.tar.bz2 samba-6914b29daa6700f0d4f1b93866074ce71f63a626.zip |
r20131: get rid of a few no previous prototype warnings
(This used to be commit e710a7d39a662a1a339f3f71c4b051fde1bb5a16)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/oplock_irix.c | 1 | ||||
-rw-r--r-- | source3/smbd/server.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/oplock_irix.c b/source3/smbd/oplock_irix.c index 248d902028..b62975dd27 100644 --- a/source3/smbd/oplock_irix.c +++ b/source3/smbd/oplock_irix.c @@ -266,5 +266,6 @@ struct kernel_oplocks *irix_init_kernel_oplocks(void) return &koplocks; } #else + void oplock_irix_dummy(void); void oplock_irix_dummy(void) {} #endif /* HAVE_KERNEL_OPLOCKS_IRIX */ diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 593e2bfb12..5ee9320fb3 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -786,7 +786,7 @@ static BOOL init_structs(void ) mkproto.h. Mixing $(builddir) and $(srcdir) source files in the current prototype generation system is too complicated. */ -void build_options(BOOL screen); +extern void build_options(BOOL screen); int main(int argc,const char *argv[]) { |