From 7c2a0be9cb2916c07074d8d56d698721b02bcfc3 Mon Sep 17 00:00:00 2001 From: Derrell Lipman Date: Mon, 3 Mar 2008 18:25:49 -0500 Subject: [PATCH] Missed a few 'deprecated' markers (cherry picked from commit 76ba37ac46b4a77fe228ca90635fa19140541ccd) --- examples/libsmbclient/testbrowse.c | 2 +- source/include/libsmbclient.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/libsmbclient/testbrowse.c b/examples/libsmbclient/testbrowse.c index c4ca6667e01..a7eda365af9 100644 --- a/examples/libsmbclient/testbrowse.c +++ b/examples/libsmbclient/testbrowse.c @@ -122,7 +122,7 @@ main(int argc, char * argv[]) /* ... then set the option to do so */ smbc_setOptionDebugToStderr(context, 1); } - + /* Initialize the context using the previously specified options */ if (!smbc_init_context(context)) { smbc_free_context(context, 0); diff --git a/source/include/libsmbclient.h b/source/include/libsmbclient.h index a60c05fa7fa..e1a4b745671 100644 --- a/source/include/libsmbclient.h +++ b/source/include/libsmbclient.h @@ -2767,7 +2767,7 @@ struct _SMBCCTX * DEPRECATED: * Use smbc_getServerCacheData(), smbc_setServerCacheData() */ - void * reserved; /* space where server_cache_data used to be */ + void * reserved _DEPRECATED_; /* * Very old configuration options. @@ -2796,7 +2796,7 @@ struct _SMBCCTX int browse_max_lmb_count _DEPRECATED_; int urlencode_readdir_entries _DEPRECATED_; int one_share_per_server _DEPRECATED_; - } options; + } options _DEPRECATED_; /** INTERNAL DATA * do _NOT_ touch this from your program ! -- 2.11.4.GIT