Re: [PATCH] help: ensure that common-cmds.h is only included by help.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



David Aguilar <davvid@xxxxxxxxx> wrote:
> Add a #ifndef guard to ensure that common-cmds.h can only
> be included by help.c.

This strikes me as a very peculiar, and sub-optimal, way of
achieving the purpose.  If these definitions are intended to
be private to help.c, why not put them there and eliminate
common-cmds.h entirely?
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]