Subject: how to correct compiler warning "implicit declaration of function ..."
To: None <>
From: Henry Nelson <>
List: netbsd-users
Date: 03/29/2001 18:02:48
Keep getting from the compiler (egcs-1.1.1 on NetBSD1.4.2):
     "warning: implicit declaration of function `strlcat'"  (or `strlcpy')

The offending code looks like:
     "strlcat(logformat, argv[i], sizeof(logformat));"
     (or    "strlcpy(statefn, optarg, sizeof(statefn));")

How would you tweak the code to avoid the warning?  TIA

henry nelson