[PATCH] worktree: don't use C99 feature

2015-09-23 Thread Ramsay Jones
Commits 9c0b9f6 ("worktree: add 'list' command", 18-09-2015) and 40ca3d3 ("worktree: add functions to get worktree details", 18-08-2015) both introduce the use of a C99 feature (declare the loop control variable in the loop header initializer section). Signed-off-b

Re: [PATCH] worktree: don't use C99 feature

2015-09-23 Thread Junio C Hamano
Ramsay Jones <ram...@ramsayjones.plus.com> writes: > Commits 9c0b9f6 ("worktree: add 'list' command", 18-09-2015) and > 40ca3d3 ("worktree: add functions to get worktree details", 18-08-2015) > both introduce the use of a C99 feature (declare the loop co

C99 (Was: Re: Freeing struct lock_file?)

2015-04-04 Thread brian m. carlson
On Fri, Apr 03, 2015 at 08:24:43PM -0400, David Turner wrote: But I can see why git wouldn't want to depend on that behavior. C11 has a way to do this safely, but AIUI, git doesn't want to move to C99 let alone C11. So I guess this will just have to remain the way it is. I would really like

Re: C99

2015-04-04 Thread brian m. carlson
On Sat, Apr 04, 2015 at 01:06:43PM -0700, Junio C Hamano wrote: brian m. carlson sand...@crustytoothpaste.net writes: So it isn't as much of a we don't want to move to C99 as much as we aren't yet willing to drop support for older versions of MSVC. I do not particularly like that 'we

Re: C99

2015-04-04 Thread Junio C Hamano
brian m. carlson sand...@crustytoothpaste.net writes: So it isn't as much of a we don't want to move to C99 as much as we aren't yet willing to drop support for older versions of MSVC. I do not particularly like that 'we' in that sentence, which would give a false impression to people that we

[POWERPC] Sky Cpu: use C99 style for struct init

2007-10-11 Thread Linux Kernel Mailing List
: Tue Oct 2 13:30:08 2007 -0700 Committer: Paul Mackerras [EMAIL PROTECTED] CommitDate: Wed Oct 3 12:02:44 2007 +1000 [POWERPC] Sky Cpu: use C99 style for struct init This changes structure item init format to C99, and removes useless structure items init. Signed-off

[POWERPC] Convert define_machine(mpc885_ads) to C99 initializer syntax

2007-10-11 Thread Linux Kernel Mailing List
Sep 12 13:58:54 2007 +1000 Committer: Paul Mackerras [EMAIL PROTECTED] CommitDate: Sat Sep 22 14:49:22 2007 +1000 [POWERPC] Convert define_machine(mpc885_ads) to C99 initializer syntax Make the define_machine() block for mpc885_ads more greppable and consistent with other examples

kernel-doc: strip C99 comments

2007-07-19 Thread Linux Kernel Mailing List
Jul 19 01:48:24 2007 -0700 Committer: Linus Torvalds [EMAIL PROTECTED] CommitDate: Thu Jul 19 10:04:45 2007 -0700 kernel-doc: strip C99 comments Strip C99-style comments from the input stream. /*...*/ comments are already stripped. C99 comments confuse the kernel-doc script

chelsio: use C99 style initialization

2007-04-30 Thread Linux Kernel Mailing List
: Tue Feb 20 15:58:01 2007 -0800 Committer: Jeff Garzik [EMAIL PROTECTED] CommitDate: Sat Apr 28 11:00:56 2007 -0400 chelsio: use C99 style initialization Convert some initialized structures to C99 style. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] Signed-off

[PATCH] C99 initializers, proper use of const in drivers/ps3

2007-03-14 Thread Linux Kernel Mailing List
14 09:19:30 2007 + Committer: Linus Torvalds [EMAIL PROTECTED] CommitDate: Wed Mar 14 15:27:50 2007 -0700 [PATCH] C99 initializers, proper use of const in drivers/ps3 Signed-off-by: Al Viro [EMAIL PROTECTED] Acked-by: Geert Uytterhoeven [EMAIL PROTECTED] Signed-off

[PATCH] sysctl: C99 convert arch/frv/kernel/pm.c

2007-02-14 Thread Linux Kernel Mailing List
: Wed Feb 14 00:33:39 2007 -0800 Committer: Linus Torvalds [EMAIL PROTECTED] CommitDate: Wed Feb 14 08:09:56 2007 -0800 [PATCH] sysctl: C99 convert arch/frv/kernel/pm.c Signed-off-by: Eric W. Biederman [EMAIL PROTECTED] Acked-by: David Howells [EMAIL PROTECTED] Signed-off

[PATCH] sysctl: C99 convert arch/frv/kernel/sysctl.c

2007-02-14 Thread Linux Kernel Mailing List
: Wed Feb 14 00:33:39 2007 -0800 Committer: Linus Torvalds [EMAIL PROTECTED] CommitDate: Wed Feb 14 08:09:56 2007 -0800 [PATCH] sysctl: C99 convert arch/frv/kernel/sysctl.c Signed-off-by: Eric W. Biederman [EMAIL PROTECTED] Acked-by: David Howells [EMAIL PROTECTED] Signed-off

[PATCH] sysctl: C99 convert the ctl_tables in arch/mips/au1000/common/power.c

2007-02-14 Thread Linux Kernel Mailing List
: Wed Feb 14 00:33:43 2007 -0800 Committer: Linus Torvalds [EMAIL PROTECTED] CommitDate: Wed Feb 14 08:09:57 2007 -0800 [PATCH] sysctl: C99 convert the ctl_tables in arch/mips/au1000/common/power.c Signed-off-by: Eric W. Biederman [EMAIL PROTECTED] Acked-by: Ralf Baechle [EMAIL

[PATCH] sysctl: C99 convert arch/mips/lasat/sysctl.c and remove ABI breakage

2007-02-14 Thread Linux Kernel Mailing List
: Wed Feb 14 00:33:44 2007 -0800 Committer: Linus Torvalds [EMAIL PROTECTED] CommitDate: Wed Feb 14 08:09:57 2007 -0800 [PATCH] sysctl: C99 convert arch/mips/lasat/sysctl.c and remove ABI breakage While C99 converting the ctl_table initializers I realized that the binary sysctl

[PATCH] sysctl: C99 convert ctl_tables entries in arch/ppc/kernel/ppc_htab.c

2007-02-14 Thread Linux Kernel Mailing List
: Wed Feb 14 00:33:47 2007 -0800 Committer: Linus Torvalds [EMAIL PROTECTED] CommitDate: Wed Feb 14 08:09:57 2007 -0800 [PATCH] sysctl: C99 convert ctl_tables entries in arch/ppc/kernel/ppc_htab.c And make the mode of the kernel directory 0555 no one is allowed to write to sysctl

[PATCH] sysctl: C99 convert ctl_tables in arch/x86_64/ia32/ia32_binfmt.c

2007-02-14 Thread Linux Kernel Mailing List
: Wed Feb 14 00:33:49 2007 -0800 Committer: Linus Torvalds [EMAIL PROTECTED] CommitDate: Wed Feb 14 08:09:57 2007 -0800 [PATCH] sysctl: C99 convert ctl_tables in arch/x86_64/ia32/ia32_binfmt.c Signed-off-by: Eric W. Biederman [EMAIL PROTECTED] Acked-by: Andi Kleen [EMAIL PROTECTED

[PATCH] sysctl: C99 convert arch/sh64/kernel/traps.c and remove ABI breakage

2007-02-14 Thread Linux Kernel Mailing List
: Wed Feb 14 00:33:48 2007 -0800 Committer: Linus Torvalds [EMAIL PROTECTED] CommitDate: Wed Feb 14 08:09:57 2007 -0800 [PATCH] sysctl: C99 convert arch/sh64/kernel/traps.c and remove ABI breakage While doing the C99 conversion I notices that the top level sh64 directory

[PATCH] sysctl: C99 convert ctl_tables in arch/powerpc/kernel/idle.c

2007-02-14 Thread Linux Kernel Mailing List
: Wed Feb 14 00:33:46 2007 -0800 Committer: Linus Torvalds [EMAIL PROTECTED] CommitDate: Wed Feb 14 08:09:57 2007 -0800 [PATCH] sysctl: C99 convert ctl_tables in arch/powerpc/kernel/idle.c This was partially done already and there was no ABI breakage what a relief. Signed-off

[PATCH] sysctl: C99 convert ctl_tables in drivers/parport/procfs.c

2007-02-14 Thread Linux Kernel Mailing List
: Wed Feb 14 00:33:54 2007 -0800 Committer: Linus Torvalds [EMAIL PROTECTED] CommitDate: Wed Feb 14 08:09:57 2007 -0800 [PATCH] sysctl: C99 convert ctl_tables in drivers/parport/procfs.c Signed-off-by: Eric W. Biederman [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL

[PATCH] sysctl: C99 convert coda ctl_tables and remove binary sysctls

2007-02-14 Thread Linux Kernel Mailing List
: Wed Feb 14 00:33:55 2007 -0800 Committer: Linus Torvalds [EMAIL PROTECTED] CommitDate: Wed Feb 14 08:09:58 2007 -0800 [PATCH] sysctl: C99 convert coda ctl_tables and remove binary sysctls Will converting the coda sysctl initializers I discovered that it is yet another user

[PATCH] sysctl: C99 convert ctl_tables in NTFS and remove sys_sysctl support

2007-02-14 Thread Linux Kernel Mailing List
: Wed Feb 14 00:33:56 2007 -0800 Committer: Linus Torvalds [EMAIL PROTECTED] CommitDate: Wed Feb 14 08:09:58 2007 -0800 [PATCH] sysctl: C99 convert ctl_tables in NTFS and remove sys_sysctl support Putting ntfs-debug under FS_NRINODE was not a kosher thing to do so don't give

[NETFILTER]: C99 initizalizers for NAT protocols

2005-08-29 Thread Linux Kernel Mailing List
tree f5b3cb508fd9b2c63aa2c24d3dafc37c2c18941f parent 86e65da9c1fc6fb421b9f796b597b3eced6b55ab author Patrick McHardy [EMAIL PROTECTED] Wed, 10 Aug 2005 09:36:53 -0700 committer David S. Miller [EMAIL PROTECTED] Tue, 30 Aug 2005 05:33:34 -0700 [NETFILTER]: C99 initizalizers for NAT protocols