svn commit: trunk/busybox/docs

vda at busybox.net vda at busybox.net
Sun Apr 15 11:50:41 UTC 2007


Author: vda
Date: 2007-04-15 04:50:41 -0700 (Sun, 15 Apr 2007)
New Revision: 18452

Log:
doc: fix code example which may provoke warning


Modified:
   trunk/busybox/docs/style-guide.txt


Changeset:
Modified: trunk/busybox/docs/style-guide.txt
===================================================================
--- trunk/busybox/docs/style-guide.txt	2007-04-15 11:48:27 UTC (rev 18451)
+++ trunk/busybox/docs/style-guide.txt	2007-04-15 11:50:41 UTC (rev 18452)
@@ -682,7 +682,7 @@
 	static const struct option <applet>_long_options[] = {
 		{ "list",    0, NULL, 't' },
 		{ "extract", 0, NULL, 'x' },
-		{ NULL }
+		{ NULL, 0, NULL, 0 }
 	};
 
 And a code block similar to the following near the top of your applet_main()




More information about the busybox-cvs mailing list