From d47d14f2ffc7a6d2cc306530b777f364767998b3 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 23 Nov 2003 01:53:54 +0000 Subject: reduced the number of magic types we need in mkproto.pl In general I prefer "struct foo" to just "foo" for most structures. There are exceptions. (This used to be commit 04eb12b56c653f98801ab29411f47564ab32fa58) --- source4/libcli/util/cliutil.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/libcli/util') diff --git a/source4/libcli/util/cliutil.c b/source4/libcli/util/cliutil.c index 47f94992a4..13b3dad0bf 100644 --- a/source4/libcli/util/cliutil.c +++ b/source4/libcli/util/cliutil.c @@ -76,13 +76,13 @@ BOOL yesno(char *p) const char *readdirname(DIR *p) { - SMB_STRUCT_DIRENT *ptr; + struct smb_dirent *ptr; char *dname; if (!p) return(NULL); - ptr = (SMB_STRUCT_DIRENT *)sys_readdir(p); + ptr = (struct smb_dirent *)sys_readdir(p); if (!ptr) return(NULL); -- cgit