[BusyBox-cvs] svn commit: trunk/busybox/docs

vapier at busybox.net vapier at busybox.net
Sat Apr 23 01:43:46 UTC 2005


Author: vapier
Date: 2005-04-22 19:43:45 -0600 (Fri, 22 Apr 2005)
New Revision: 10156

Log:
update example to use bb_ prefixed names and remove old note about config.h (since the header is generated automatically now)

Modified:
   trunk/busybox/docs/new-applet-HOWTO.txt


Changeset:
Modified: trunk/busybox/docs/new-applet-HOWTO.txt
===================================================================
--- trunk/busybox/docs/new-applet-HOWTO.txt	2005-04-23 01:43:07 UTC (rev 10155)
+++ trunk/busybox/docs/new-applet-HOWTO.txt	2005-04-23 01:43:45 UTC (rev 10156)
@@ -52,10 +52,10 @@
 	char mu;
 
 	if ((fd = open("/dev/random", O_RDONLY)) < 0)
-		perror_msg_and_die("/dev/random");
+		bb_perror_msg_and_die("/dev/random");
 
 	if ((n = safe_read(fd, &mu, 1)) < 1)
-		perror_msg_and_die("/dev/random");
+		bb_perror_msg_and_die("/dev/random");
 
 	return mu;
 }
@@ -137,11 +137,6 @@
 	/* all programs below here are alphabetically "greater than" 'mu' */
 
 
-Finally, add a define for your applet to include/config.h
-
-	#undef CONFIG_MU
-
-
 Documentation
 -------------
 




More information about the busybox-cvs mailing list