All of lore.kernel.org
 help / color / mirror / Atom feed
* dmraid/tools commands.c
@ 2010-05-30 22:12 zkabelac
  0 siblings, 0 replies; 2+ messages in thread
From: zkabelac @ 2010-05-30 22:12 UTC (permalink / raw)
  To: dm-cvs, dm-devel

CVSROOT:	/cvs/dm
Module name:	dmraid
Changes by:	zkabelac@sourceware.org	2010-05-30 22:12:43

Modified files:
	tools          : commands.c 

Log message:
	Check for possible _GNU_SOURCE already defined

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/dmraid/tools/commands.c.diff?cvsroot=dm&r1=1.9&r2=1.10

--- dmraid/tools/commands.c	2010/03/19 13:56:49	1.9
+++ dmraid/tools/commands.c	2010/05/30 22:12:43	1.10
@@ -9,7 +9,9 @@
  */
 
 #ifdef HAVE_GETOPTLONG
+#ifndef _GNU_SOURCE
 # define _GNU_SOURCE
+#endif
 # include <getopt.h>
 #endif
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* dmraid/tools commands.c
@ 2010-07-13 20:14 zkabelac
  0 siblings, 0 replies; 2+ messages in thread
From: zkabelac @ 2010-07-13 20:14 UTC (permalink / raw)
  To: dm-cvs, dm-devel

CVSROOT:	/cvs/dm
Module name:	dmraid
Changes by:	zkabelac@sourceware.org	2010-07-13 20:14:41

Modified files:
	tools          : commands.c 

Log message:
	Use static for save_drive_name()

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/dmraid/tools/commands.c.diff?cvsroot=dm&r1=1.10&r2=1.11

--- dmraid/tools/commands.c	2010/05/30 22:12:43	1.10
+++ dmraid/tools/commands.c	2010/07/13 20:14:41	1.11
@@ -639,7 +639,7 @@
 }
 
 /* Save name of rebuild disk. */
-int
+static int
 save_drive_name(struct lib_context *lc, char *drive)
 {
 	lc->options[LC_REBUILD_DISK].opt++;

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-07-13 20:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-30 22:12 dmraid/tools commands.c zkabelac
  -- strict thread matches above, loose matches on Subject: below --
2010-07-13 20:14 zkabelac

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.