summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorPaul Green <paulg@samba.org>2003-08-27 15:05:05 +0000
committerPaul Green <paulg@samba.org>2003-08-27 15:05:05 +0000
commitcd8c082b797a5a11cd7d935f564a261def71bcaf (patch)
tree6fa7ad29d4ece0b1fe89318bffeadbb598ec8393 /source3/modules
parentbdccf7fca84e0fd6c43c89f3337a316f22109579 (diff)
downloadsamba-cd8c082b797a5a11cd7d935f564a261def71bcaf.tar.gz
samba-cd8c082b797a5a11cd7d935f564a261def71bcaf.tar.bz2
samba-cd8c082b797a5a11cd7d935f564a261def71bcaf.zip
Be consistent about using capital letters in the function names. (The only
one that really matters is the init entrypoint, but I changed the others to remain consistent). (This used to be commit ce0469ad1c01b36d3f0000756f6917478df37d02)
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/CP850.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/modules/CP850.c b/source3/modules/CP850.c
index a17015ffb6..4923f84d50 100644
--- a/source3/modules/CP850.c
+++ b/source3/modules/CP850.c
@@ -347,7 +347,7 @@ static const unsigned char from_ucs2[] = {
};
-static size_t cp850_push(void *cd, char **inbuf, size_t *inbytesleft,
+static size_t CP850_push(void *cd, char **inbuf, size_t *inbytesleft,
char **outbuf, size_t *outbytesleft)
{
while (*inbytesleft >= 2 && *outbytesleft >= 1) {
@@ -387,7 +387,7 @@ static size_t cp850_push(void *cd, char **inbuf, size_t *inbytesleft,
return 0;
}
-static size_t cp850_pull(void *cd, char **inbuf, size_t *inbytesleft,
+static size_t CP850_pull(void *cd, char **inbuf, size_t *inbytesleft,
char **outbuf, size_t *outbytesleft)
{
while (*inbytesleft >= 1 && *outbytesleft >= 2) {
@@ -406,9 +406,9 @@ static size_t cp850_pull(void *cd, char **inbuf, size_t *inbytesleft,
return 0;
}
-struct charset_functions cp850_functions = {"CP850", cp850_pull, cp850_push};
+struct charset_functions CP850_functions = {"CP850", CP850_pull, CP850_push};
-NTSTATUS charset_cp850_init(void)
+NTSTATUS charset_CP850_init(void)
{
- return smb_register_charset(&cp850_functions);
+ return smb_register_charset(&CP850_functions);
}