fix warning from needlessly-global functions

This commit is contained in:
Denis Vlasenko
2007-01-22 23:04:27 +00:00
parent d77f7c3136
commit 769d1e05e6
6 changed files with 17 additions and 10 deletions

View File

@@ -13,6 +13,8 @@
//#include "libbb.h"
extern void bb_perror_msg_and_die(const char *s, ...);
/* suppress gcc "no previous prototype" warning */
void bb_perror_nomsg_and_die(void);
void bb_perror_nomsg_and_die(void)
{
bb_perror_msg_and_die(0);