diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-02-11 21:28:48 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-02-11 21:59:40 +1100 |
commit | f78a534dd20d0afa0a63abf693add4286c0e3f37 (patch) | |
tree | 6bbc1b5979107a77c21ea2a26875dbc3207bd48c /source4/utils/net/drs | |
parent | 976201d24a7c0734ef99c72e476a6caab97e21de (diff) | |
download | samba-f78a534dd20d0afa0a63abf693add4286c0e3f37.tar.gz samba-f78a534dd20d0afa0a63abf693add4286c0e3f37.tar.bz2 samba-f78a534dd20d0afa0a63abf693add4286c0e3f37.zip |
s4-net-drs: fix some coding style issues
We should use the system/*.h headers for system includes. We also try
to avoid C++ comments.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source4/utils/net/drs')
-rw-r--r-- | source4/utils/net/drs/net_drs.c | 3 | ||||
-rw-r--r-- | source4/utils/net/drs/net_drs_kcc.c | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/source4/utils/net/drs/net_drs.c b/source4/utils/net/drs/net_drs.c index 7772d83ace..c28684314c 100644 --- a/source4/utils/net/drs/net_drs.c +++ b/source4/utils/net/drs/net_drs.c @@ -25,8 +25,7 @@ #include "net_drs.h" #include "lib/ldb/include/ldb.h" #include "lib/ldb_wrap.h" - -#include <unistd.h> +#include "system/filesys.h" /** diff --git a/source4/utils/net/drs/net_drs_kcc.c b/source4/utils/net/drs/net_drs_kcc.c index fb2c661d9b..059b26fca5 100644 --- a/source4/utils/net/drs/net_drs_kcc.c +++ b/source4/utils/net/drs/net_drs_kcc.c @@ -126,7 +126,7 @@ int net_drs_kcc_cmd(struct net_context *ctx, int argc, const char **argv) d_printf("%s\n", site_name); if (site_options) { - // TODO: print meaningfull site options here + /* TODO: print meaningfull site options here */ d_printf("Current Site Options: 0x%X\n", site_options); } else { d_printf("Current Site Options: (none)\n"); |