1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

r15375: Rename readline.h to smbreadline.h avoid clashes with system header.

This commit is contained in:
Jelmer Vernooij 2006-05-01 13:20:05 +00:00 committed by Gerald (Jerry) Carter
parent 1c2dc5ec10
commit ccc3d8a954
4 changed files with 5 additions and 3 deletions

View File

@ -35,8 +35,10 @@ sub _prepare_build_h($)
$key->{TYPE} ne "BINARY");
next unless defined($key->{INIT_FUNCTIONS});
my $name = $key->{NAME};
$name =~ s/-/_/g;
$DEFINE->{COMMENT} = "$key->{TYPE} $key->{NAME} INIT";
$DEFINE->{KEY} = "STATIC_$key->{NAME}_MODULES";
$DEFINE->{KEY} = "STATIC_$name\_MODULES";
$DEFINE->{VAL} = "{ \\\n";
foreach (@{$key->{INIT_FUNCTIONS}}) {
$DEFINE->{VAL} .= "\t$_, \\\n";

View File

@ -38,7 +38,7 @@
#include "system/time.h" /* needed by some systems for asctime() */
#include "libcli/resolve/resolve.h"
#include "libcli/security/security.h"
#include "lib/replace/readline.h"
#include "lib/replace/smbreadline.h"
#include "librpc/gen_ndr/ndr_nbt.h"
static int io_bufsize = 64512;

View File

@ -25,7 +25,7 @@
#include "lib/events/events.h"
#include "lib/registry/reg_backend_rpc.h"
#include "system/time.h"
#include "lib/replace/readline.h"
#include "lib/replace/smbreadline.h"
#include "librpc/gen_ndr/ndr_security.h"
/*