r5661: Be a little stricter on syntax regarding arrays. A pointer to an
authorJelmer Vernooij <jelmer@samba.org>
Sat, 5 Mar 2005 18:34:18 +0000 (18:34 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:10:57 +0000 (13:10 -0500)
commit631aa1f0efa75924c4d8ba639de80527fb8da7b5
tree6b6e0f16c6f5d1ec96cff1344973808c86311898
parentdf036e08294ec98a2c7049f7f2fe03de1fd2ae44
r5661: Be a little stricter on syntax regarding arrays. A pointer to an
array can now only be :

 type *name[];

rather then :

 type *name;

which was supported in the past. Warnings will be given when the first
syntax is used. Reasons for this change in behaviour include improved
readability and the fact that the second format makes dealing with multiple
levels of pointers harder.
(This used to be commit a416de5825c540fd3741731c4be05e9a659a6fdb)
23 files changed:
source4/build/pidl/ndr.pm
source4/build/pidl/util.pm
source4/build/pidl/validator.pm
source4/librpc/idl/atsvc.idl
source4/librpc/idl/dcom.idl
source4/librpc/idl/dfs.idl
source4/librpc/idl/drsblobs.idl
source4/librpc/idl/drsuapi.idl
source4/librpc/idl/echo.idl
source4/librpc/idl/eventlog.idl
source4/librpc/idl/krb5pac.idl
source4/librpc/idl/lsa.idl
source4/librpc/idl/netlogon.idl
source4/librpc/idl/remact.idl
source4/librpc/idl/samr.idl
source4/librpc/idl/srvsvc.idl
source4/librpc/idl/winreg.idl
source4/librpc/idl/wkssvc.idl
source4/librpc/idl/xattr.idl
source4/librpc/ndr/libndr.h
source4/librpc/ndr/ndr.c
source4/librpc/ndr/ndr_spoolss_buf.c
source4/torture/libnet/userinfo.c