1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00

lib/util: move copyright define to copyright.h

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15377

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Björn Jacke 2023-06-06 17:25:35 +02:00 committed by Andrew Bartlett
parent 19105f51d0
commit b7631bf603
4 changed files with 34 additions and 3 deletions

28
lib/util/copyright.h Normal file
View File

@ -0,0 +1,28 @@
/*
Unix SMB/CIFS implementation.
Copyright (C) Björn Jacke 2023
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __LIB_UTIL_COPYRIGHT_H__
#define __LIB_UTIL_COPYRIGHT_H__
/* logged when starting the various Samba daemons */
#define COPYRIGHT_STARTUP_MESSAGE "Copyright Andrew Tridgell and the Samba Team 1992-2023"
#endif /* __LIB_UTIL_COPYRIGHT_H__ */

View File

@ -242,6 +242,9 @@ enum timestamp_set_resolution {
typedef char fstring[FSTRING_LEN];
#endif
/* copyright define */
#include "../lib/util/copyright.h"
/* debug.h need to be included before samba_util.h for the macro SMB_ASSERT */
#include "../lib/util/debug.h"

View File

@ -29,9 +29,6 @@
#include "libcli/smb/smb_common.h"
#include "libds/common/roles.h"
/* logged when starting the various Samba daemons */
#define COPYRIGHT_STARTUP_MESSAGE "Copyright Andrew Tridgell and the Samba Team 1992-2023"
#define LARGE_WRITEX_HDR_SIZE 65
#define LARGE_WRITEX_BUFFER_SIZE (128*1024)

View File

@ -57,6 +57,9 @@
#endif
#include "../lib/util/attr.h"
/* copyright define */
#include "../lib/util/copyright.h"
/* debug.h need to be included before samba_util.h for the macro SMB_ASSERT */
#include "../lib/util/debug.h"
#include "../lib/util/samba_util.h"