Missed a few 'deprecated' markers
authorDerrell Lipman <derrell.lipman@unwireduniverse.com>
Mon, 3 Mar 2008 23:25:49 +0000 (18:25 -0500)
committerKarolin Seeger <ks@sernet.de>
Tue, 4 Mar 2008 08:03:01 +0000 (09:03 +0100)
(cherry picked from commit 76ba37ac46b4a77fe228ca90635fa19140541ccd)
(This used to be commit 7c2a0be9cb2916c07074d8d56d698721b02bcfc3)

examples/libsmbclient/testbrowse.c
source3/include/libsmbclient.h

index c4ca6667e01a9cc4dd1381608b815f9f03f8446a..a7eda365af9a53a82f903aff47895f43f81c8d7f 100644 (file)
@@ -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);
index a60c05fa7fa3f2c01956de1fc29d00b9bf679e27..e1a4b74567182d2dfc22d8956e01a6522c8e6a8f 100644 (file)
@@ -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 !