From: Derrell Lipman Date: Mon, 3 Mar 2008 23:25:49 +0000 (-0500) Subject: Missed a few 'deprecated' markers X-Git-Tag: samba-3.2.0pre2~11 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7c2a0be9cb2916c07074d8d56d698721b02bcfc3;p=thirdparty%2Fsamba.git Missed a few 'deprecated' markers (cherry picked from commit 76ba37ac46b4a77fe228ca90635fa19140541ccd) --- 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 !