diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-08-31 08:51:38 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-08-31 08:51:38 +0000 |
commit | 110954e8e1c8025831d2c7621ac4a21679e60a1e (patch) | |
tree | c017aeba7de65723f45c7d933abacdc0060b2801 | |
parent | 7aca67c3e90b55e590d8741d3c24bc37b45120b7 (diff) | |
download | samba-110954e8e1c8025831d2c7621ac4a21679e60a1e.tar.gz samba-110954e8e1c8025831d2c7621ac4a21679e60a1e.tar.bz2 samba-110954e8e1c8025831d2c7621ac4a21679e60a1e.zip |
Add a dash of static.
(This used to be commit e3af3adac1a01842bc5242e68393196497a1d71c)
-rw-r--r-- | source3/libsmb/clierror.c | 4 | ||||
-rw-r--r-- | source3/libsmb/nterr.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/libsmb/clierror.c b/source3/libsmb/clierror.c index 591c04db22..e1507c6048 100644 --- a/source3/libsmb/clierror.c +++ b/source3/libsmb/clierror.c @@ -156,7 +156,7 @@ void cli_dos_error(struct cli_state *cli, uint8 *eclass, uint32 *ecode) /* Return a UNIX errno from a dos error class, error number tuple */ -int cli_errno_from_dos(uint8 eclass, uint32 num) +static int cli_errno_from_dos(uint8 eclass, uint32 num) { if (eclass == ERRDOS) { switch (num) { @@ -205,7 +205,7 @@ static struct { {NT_STATUS(0), 0} }; -int cli_errno_from_nt(NTSTATUS status) +static int cli_errno_from_nt(NTSTATUS status) { int i; DEBUG(10,("cli_errno_from_nt: 32 bit codes: code=%08x\n", NT_STATUS_V(status))); diff --git a/source3/libsmb/nterr.c b/source3/libsmb/nterr.c index e2da6318e1..02fd53fc05 100644 --- a/source3/libsmb/nterr.c +++ b/source3/libsmb/nterr.c @@ -28,7 +28,7 @@ typedef const struct NTSTATUS nt_errcode; } nt_err_code_struct; -nt_err_code_struct nt_errs[] = +static nt_err_code_struct nt_errs[] = { { "NT_STATUS_OK", NT_STATUS_OK }, { "NT_STATUS_UNSUCCESSFUL", NT_STATUS_UNSUCCESSFUL }, |