Removal of #ifdef SYSLOG cruft and whitespace cleanup.
authorTim Potter <tpot@samba.org>
Thu, 30 Mar 2000 01:54:08 +0000 (01:54 +0000)
committerTim Potter <tpot@samba.org>
Thu, 30 Mar 2000 01:54:08 +0000 (01:54 +0000)
31 files changed:
source/rpc_client/cli_brs.c
source/rpc_client/cli_dfs.c
source/rpc_client/cli_lsarpc.c
source/rpc_client/cli_netlogon.c
source/rpc_client/cli_netlogon_sync.c
source/rpc_client/cli_pipe.c
source/rpc_client/cli_pipe_netsec.c
source/rpc_client/cli_pipe_noauth.c
source/rpc_client/cli_pipe_ntlmssp.c
source/rpc_client/cli_reg.c
source/rpc_client/cli_samr.c
source/rpc_client/cli_spoolss.c
source/rpc_client/cli_srvsvc.c
source/rpc_client/cli_svcctl.c
source/rpc_client/cli_wkssvc.c
source/rpc_client/msrpc_lsarpc.c
source/rpc_client/msrpc_netlogon.c
source/rpc_client/msrpc_samr.c
source/rpc_client/ntclienttrust.c
source/rpcclient/cmd_atsvc.c
source/rpcclient/cmd_brs.c
source/rpcclient/cmd_dfs.c
source/rpcclient/cmd_eventlog.c
source/rpcclient/cmd_lsarpc.c
source/rpcclient/cmd_netlogon.c
source/rpcclient/cmd_reg.c
source/rpcclient/cmd_samr.c
source/rpcclient/cmd_spoolss.c
source/rpcclient/cmd_srvsvc.c
source/rpcclient/cmd_svcctl.c
source/rpcclient/cmd_wkssvc.c

index 8f18d0c9e113c35341018125265427de17648df5..149200422517ae57c1478cff9939d5707a223ed9 100644 (file)
@@ -1,4 +1,3 @@
-
 /* 
  *  Unix SMB/Netbios implementation.
  *  Version 1.9.
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
-
-#ifdef SYSLOG
-#undef SYSLOG
-#endif
-
 #include "includes.h"
 #include "rpc_parse.h"
 
@@ -93,4 +87,3 @@ BOOL brs_query_info( const char *srv_name, uint32 switch_value,
 
        return valid_info;
 }
-
index ddebebbdc8c76a5fb4f3a48455abb62506f6ec4a..308b94b3be8a93c8bbd90bc450b925a988e3f7dc 100644 (file)
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
 
-#ifdef SYSLOG
-#undef SYSLOG
-#endif
-
 #include "includes.h"
 #include "rpc_parse.h"
 #include "nterr.h"
@@ -209,4 +205,3 @@ uint32 dfs_enum(char *srv_name, uint32 level, DFS_INFO_CTR *ctr)
   else
     return res;
 }
-
index 72cfbca31d31df5581afb10acc8fa8094f5a7ed5..7c645b43c4a9288484c6e7efbbe2593d813ffa4d 100644 (file)
@@ -1,4 +1,3 @@
-
 /* 
  *  Unix SMB/Netbios implementation.
  *  Version 1.9.
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
-
-#ifdef SYSLOG
-#undef SYSLOG
-#endif
-
 #include "includes.h"
 #include "rpc_parse.h"
 #include "nterr.h"
index 3de1134d93ac06345c15748c814523263bf2629f..b882eaa493a5843ed58f47ff29c6f452cb4c9f75 100644 (file)
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
-
-#ifdef SYSLOG
-#undef SYSLOG
-#endif
-
 #include "includes.h"
 #include "rpc_parse.h"
 #include "nterr.h"
index 440d9ed34d31d59df1007d898e923af0deb37470..8ed88672bde221b42ee8fe5d2361697bd22e143d 100644 (file)
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
-
-#ifdef SYSLOG
-#undef SYSLOG
-#endif
-
 #include "includes.h"
 
 extern int DEBUGLEVEL;
index fe1bbc866319a77f96073cb0db7ce9db1992c964..3651ce0676153d90adc03fe33b48aadae1a6d1a0 100644 (file)
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
-
-#ifdef SYSLOG
-#undef SYSLOG
-#endif
-
 #include "includes.h"
 #include "rpc_parse.h"
 
index 755c07b3e724bff10cfb3df155bea4a60e7a572f..58b48416089516c26b60c0ee6695548f0ece533e 100644 (file)
@@ -1,4 +1,3 @@
-
 /* 
  *  Unix SMB/Netbios implementation.
  *  Version 1.9.
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
-
-#ifdef SYSLOG
-#undef SYSLOG
-#endif
-
 #include "includes.h"
 #include "rpc_parse.h"
 
index 2eed511728c5e233fa388944b32f2121a9b30edf..0ca9ef7e82f754ea691dad57ef071403b3acc372 100644 (file)
@@ -1,4 +1,3 @@
-
 /* 
  *  Unix SMB/Netbios implementation.
  *  Version 1.9.
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
-
-#ifdef SYSLOG
-#undef SYSLOG
-#endif
-
 #include "includes.h"
 #include "rpc_parse.h"
 
index f3b92deea5d1613253a1c66c62b5d84cc3fb2224..5ec8bf6c32dd809fc6b2bcca306025b72cea6d26 100644 (file)
@@ -1,4 +1,3 @@
-
 /* 
  *  Unix SMB/Netbios implementation.
  *  Version 1.9.
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
-
-#ifdef SYSLOG
-#undef SYSLOG
-#endif
-
 #include "includes.h"
 #include "rpc_parse.h"
 
index 7f0b8df301b8c0a119de6da8f5c88b02c32e3f4c..1ba96819ba29d768d2390d640958471344e73684 100644 (file)
@@ -1,4 +1,3 @@
-
 /* 
  *  Unix SMB/Netbios implementation.
  *  Version 1.9.
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
-
-#ifdef SYSLOG
-#undef SYSLOG
-#endif
-
 #include "includes.h"
 #include "rpc_parse.h"
 
@@ -1157,5 +1151,3 @@ BOOL reg_shutdown(const char *srv_name,
 
        return valid_shutdown;
 }
-
-
index 59d676c9e79abcea6c6cea1cbb95c9da7b6960fc..e4efcd3fc6650aac7fda1555a39883a8afffebfd 100644 (file)
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
 
-
-
-#ifdef SYSLOG
-#undef SYSLOG
-#endif
-
 #include "includes.h"
 #include "rpc_parse.h"
 #include "nterr.h"
@@ -2552,4 +2546,3 @@ BOOL samr_query_dispinfo(  POLICY_HND *pol_domain, uint16 level,
 
        return valid_query;
 }
-
index 0cab8124d5d8d130364c4320695de6e060636466..8107837ce692797be6199a7126b7910bc36a4f92 100644 (file)
@@ -1,4 +1,3 @@
-
 /* 
  *  Unix SMB/Netbios implementation.
  *  Version 1.9.
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
-
-#ifdef SYSLOG
-#undef SYSLOG
-#endif
-
 #include "includes.h"
 #include "rpc_parse.h"
 #include "nterr.h"
 
 extern int DEBUGLEVEL;
 
-
 /****************************************************************************
 do a SPOOLSS Enum Printers
 ****************************************************************************/
@@ -336,4 +329,3 @@ BOOL spoolss_closeprinter(POLICY_HND *hnd)
 
        return valid_close;
 }
-
index ab9753ab4924df256b755c6dc652bec449423a94..073ce7e00569e3dc762ad760c554187ed23896d2 100644 (file)
@@ -1,4 +1,3 @@
-
 /* 
  *  Unix SMB/Netbios implementation.
  *  Version 1.9.
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
-
-#ifdef SYSLOG
-#undef SYSLOG
-#endif
-
 #include "includes.h"
 #include "rpc_parse.h"
 #include "nterr.h"
index 9aa587e881bc6f729be60e07282a214d8b8c70d8..93d9d4adc59a7bf6a25e521b7b33695eac9d970d 100644 (file)
@@ -1,4 +1,3 @@
-
 /* 
  *  Unix SMB/Netbios implementation.
  *  Version 1.9.
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
-
-#ifdef SYSLOG
-#undef SYSLOG
-#endif
-
 #include "includes.h"
 #include "rpc_parse.h"
 
@@ -646,4 +640,3 @@ BOOL svc_unknown_3(const POLICY_HND *scman_hnd, POLICY_HND *hnd)
 
        return valid_req;
 }
-
index 400ca56aba4c40cb586dc7d0ab26d40b01662068..fc41650ba072d881d40a4aa76ec3e0d6bfceb63f 100644 (file)
@@ -1,4 +1,3 @@
-
 /* 
  *  Unix SMB/Netbios implementation.
  *  Version 1.9.
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
-
-#ifdef SYSLOG
-#undef SYSLOG
-#endif
-
 #include "includes.h"
 #include "rpc_parse.h"
 
@@ -93,4 +87,3 @@ BOOL wks_query_info( char *srv_name, uint32 switch_value,
 
        return valid_info;
 }
-
index 70a9dc27b104711cdbd06a566fc71674c5e5406a..1fddd2a178bd6650f7c3dc2f199f2dfaa0c30f65 100644 (file)
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
 
-
-#ifdef SYSLOG
-#undef SYSLOG
-#endif
-
 #include "includes.h"
 #include "nterr.h"
 
index afb58874ad30e2192f5d9939bfbd7c1bfaf2fc46..ced282f4bb899cce610337b62cde79d9e5e8a04d 100644 (file)
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
-
-#ifdef SYSLOG
-#undef SYSLOG
-#endif
-
 #include "includes.h"
 #include "nterr.h"
 
index baa11dd914b5caa7b06751689d58bd4255382253..541298f23bd7f8378bd5a6f280e6c219af7f77f2 100644 (file)
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
 
-
-
-#ifdef SYSLOG
-#undef SYSLOG
-#endif
-
 #include "includes.h"
 #include "rpc_parse.h"
 #include "nterr.h"
index 01920a7f729620da3f2548f3adebbc973222397e..b260dafea1bbcbd3c63098136b19b04d65840a20 100644 (file)
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
 
-#ifdef SYSLOG
-#undef SYSLOG
-#endif
-
 #include "includes.h"
 #include "nterr.h"
 
 extern int DEBUGLEVEL;
 
-
 /************************************************************************
  check workstation trust account status
  ************************************************************************/
@@ -163,5 +158,3 @@ BOOL trust_account_check(struct in_addr dest_ip, char *dest_host,
        cli_shutdown(&cli_trust);
        return right_error_code;
 }
-
-
index ea86246543d2931e48c10dff8f79b304e1e0662c..bc1557742d7026792b8d56bfe015e5f702ea1261 100644 (file)
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
 
-
-#ifdef SYSLOG
-#undef SYSLOG
-#endif
-
 #include "includes.h"
 #include "nterr.h"
 
@@ -35,7 +30,6 @@ extern int DEBUGLEVEL;
 
 extern FILE* out_hnd;
 
-
 /****************************************************************************
 checks for a /OPTION:param style option
 ****************************************************************************/
index 886d8e7ced020bb4260408b6f78e7d973d855688..00eeebaf4b835e8afa5532823118003323013362 100644 (file)
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
 
-
-
-#ifdef SYSLOG
-#undef SYSLOG
-#endif
-
 #include "includes.h"
 #include "rpc_brs.h"
 #include "nterr.h"
@@ -36,7 +30,6 @@ extern int DEBUGLEVEL;
 
 extern FILE* out_hnd;
 
-
 /****************************************************************************
 Browser get info query
 ****************************************************************************/
@@ -81,4 +74,3 @@ void cmd_brs_query_info(struct client_info *info, int argc, char *argv[])
                DEBUG(5,("cmd_brs_query_info: query failed\n"));
        }
 }
-
index b9477b5783ddfd0cd37a7843b0d862355dc2b9d2..d804bf36eae8e368fb1b98298948028bb895772c 100644 (file)
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
 
-#ifdef SYSLOG
-#undef SYSLOG
-#endif
-
 #include "includes.h"
 #include "nterr.h"
 #include "rpc_parse.h"
@@ -152,5 +148,3 @@ void cmd_dfs_enum(struct client_info *info, int argc, char *argv[])
       return;
     }
 }
-
-    
index 3e86f5bb28be0bac555bf34ad69a5cbc74f6a222..a3b7eea16e2c47970f99cac34f446a41ac50501d 100644 (file)
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
 
-
-#ifdef SYSLOG
-#undef SYSLOG
-#endif
-
 #include "includes.h"
 #include "nterr.h"
 
@@ -34,7 +29,6 @@ extern int DEBUGLEVEL;
 
 extern FILE* out_hnd;
 
-
 /****************************************************************************
 ****************************************************************************/
 void cmd_eventlog(struct client_info *info, int argc, char *argv[])
index 77fdcfeb2666b8e77ad41838d996fc8b318b4538..8c7e075f3631defdfb17eb373f0aaffe174aa1a7 100644 (file)
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
 
-
-#ifdef SYSLOG
-#undef SYSLOG
-#endif
-
 #include "includes.h"
 #include "nterr.h"
 
@@ -503,4 +498,3 @@ void cmd_lsa_query_secret(struct client_info *info, int argc, char *argv[])
                report(out_hnd, "LSA Query Secret: failed\n");
        }
 }
-
index d4cc160ec47deb76188b4f7b15fd6feb7fd97fe9..75478756ba9eddc0920f3cafdd8755cd102a7ee3 100644 (file)
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
 
-
-
-#ifdef SYSLOG
-#undef SYSLOG
-#endif
-
 #include "includes.h"
 #include "nterr.h"
 
index 559f6b9d894e1a641ebceac67e8669082cb5fbfe..643483bb9beacbedc1ca16361e6ad7c563c13bf8 100644 (file)
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
 
-
-
-#ifdef SYSLOG
-#undef SYSLOG
-#endif
-
 #include "includes.h"
 #include "rpc_parse.h"
 
index 66236e6b9d6d79c05519d87f943be2a3dabe76d1..4a2c119e860b5676ae64edf3a7d49fc5463c2b59 100644 (file)
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
 
-
-
-#ifdef SYSLOG
-#undef SYSLOG
-#endif
-
 #include "includes.h"
 #include "rpc_parse.h"
 #include "nterr.h"
index 4e609fdd0b07ecbf53223e0722c16741a62156cc..e94ef2e760e3b22e2883365966949c4a86788114 100644 (file)
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
 
-
-#ifdef SYSLOG
-#undef SYSLOG
-#endif
-
 #include "includes.h"
 #include "nterr.h"
 #include "rpc_parse.h"
@@ -428,4 +423,3 @@ void cmd_spoolss_enum_printerdata(struct client_info *info, int argc, char *argv
                report(out_hnd, "FAILED\n");
 
 }
-
index 1d79c91c31bb2fb0cbd6162057ac910c6f104b01..813feb958ccaf8f44457728f30829f8e7e25367b 100644 (file)
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
 
-
-
-#ifdef SYSLOG
-#undef SYSLOG
-#endif
-
 #include "includes.h"
 #include "rpc_parse.h"
 #include "rpcclient.h"
@@ -37,7 +31,6 @@ extern int DEBUGLEVEL;
 
 extern FILE *out_hnd;
 
-
 /****************************************************************************
 server get info query
 ****************************************************************************/
index 78df344a1efacf7030ea0588c9c6da6a329a7a2b..c975cd14d8037fd5b29f1b08febfe2f9a174c6cd 100644 (file)
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
 
-
-
-#ifdef SYSLOG
-#undef SYSLOG
-#endif
-
 #include "includes.h"
 #include "nterr.h"
 
@@ -437,4 +431,3 @@ void cmd_svc_unk3(struct client_info *info, int argc, char *argv[])
                DEBUG(5,("cmd_svc_unk3: succeeded\n"));
        }
 }
-
index 474c53f347ee8716ca4cdbe2dccab2ccab481422..c4336fd798e6dad3051c1195abbea5e762956b17 100644 (file)
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
 
-
-
-#ifdef SYSLOG
-#undef SYSLOG
-#endif
-
 #include "includes.h"
 #include "nterr.h"
 
@@ -35,7 +29,6 @@ extern int DEBUGLEVEL;
 
 extern FILE* out_hnd;
 
-
 /****************************************************************************
 workstation get info query
 ****************************************************************************/
@@ -80,4 +73,3 @@ void cmd_wks_query_info(struct client_info *info, int argc, char *argv[])
                DEBUG(5,("cmd_wks_query_info: query failed\n"));
        }
 }
-