dowarn
if (dowarn)
int dowarn;
dowarn = !(inflags & _PASSWORD_NOWARN);
if (dowarn)
if (!getid(&id, p, flags, dowarn, _PASSWORD_NOUID))
if (dowarn)
if (!getid(&id, p, flags, dowarn, _PASSWORD_NOGID))
if (!gettime(&ti, p, flags, dowarn, _PASSWORD_NOCHG))
if (!gettime(&ti, p, flags, dowarn, _PASSWORD_NOEXP))
if (dowarn)
if (dowarn)
gettime(time_t *res, const char *p, int *flags, int dowarn, int flag)
if (dowarn) {
getid(unsigned long *res, const char *p, int *flags, int dowarn, int flag)
dowarn(flags, "%s: %s: unknown capability",
dowarn(flags, "%s: %s: cap name is too long", tic->name, id);
dowarn(flags,
dowarn(flags,
dowarn(flags,
dowarn(int flags, const char *fmt, ...)
dowarn(flags, "no separator found: %s", cap);
dowarn(flags, "%s: name too long", name);
dowarn(flags, "%s: description too long: %s", name, desc);
dowarn(flags, "%s: alias too long: %s", name, alias);
dowarn(flags, "%s: %s: string is too long",
dowarn(flags, "%s: %s: invalid string",
dowarn(flags, "%s: %s: not a number",
dowarn(flags, "%s: %s: number %ld out of range",
static int dowarn = 0;
dowarn++;
if (dowarn)
if (dowarn)
static void dowarn(int);
dowarn(cur_line);
dowarn("%s: has alias for already assigned"
dowarn("%s: duplicate entry", tic->name);
dowarn("%s: use is not string", rtic->name);
dowarn("%s: uses itself", rtic->name);
dowarn("%s: ???: %s", rtic->name, cap);
dowarn("%s: no use record for %s",
dowarn("%s: uses itself", rtic->name);
dowarn("%s: use no longer exists - impossible",
dowarn("circular use detected");
dowarn("last line is not a comment"
dowarn(const char *fmt, ...)
bool dowarn = false;
true, true, &dowarn) ||
dowarn) {
bool dowarn = false;
if (!redec && !check_redeclaration(dsym, &dowarn)) {
if (dowarn) {
check_redeclaration(sym_t *dsym, bool *dowarn)
false, false, dowarn)) {
prototypes_compatible(const type_t *tp1, const type_t *tp2, bool *dowarn)
true, false, dowarn))
bool ignqual, bool promot, bool *dowarn)
if (!prototypes_compatible(tp1, tp2, dowarn))
&& dowarn != NULL
*dowarn = true;
bool dowarn = false;
if (!types_compatible(old_tp, proto_tp, true, true, &dowarn)) {
if (types_compatible(old_tp, proto_tp, true, false, &dowarn)) {
if (dowarn) {
bool dowarn = false;
false, false, &dowarn);
if (!compatible || dowarn) {
bool dowarn = false;
if (!check_redeclaration(fsym, &dowarn)) {
if (dowarn && !fsym->s_osdef) {
bool dowarn;
true, false, (dowarn = false, &dowarn)) || dowarn)
bool osdef, eq, dowarn;
dowarn = false;
true, osdef, false, &dowarn);
if (!eq || dowarn) {
bool ignqual, bool promot, bool asgn, bool *dowarn)
if (!prototypes_compatible(tp1, tp2, dowarn))
if (!matches_no_arg_function(tp1, dowarn))
if (!matches_no_arg_function(tp2, dowarn))
prototypes_compatible(const type_t *tp1, const type_t *tp2, bool *dowarn)
if (!types_compatible(*a1, *a2, true, false, false, dowarn))
matches_no_arg_function(const type_t *tp, bool *dowarn)
if (tp->t_vararg && dowarn != NULL)
*dowarn = true;
bool dowarn, eq;
true, false, false, (dowarn = false, &dowarn));
if (!eq || (sflag && dowarn)) {
bool dowarn = false;
is_func, false, false, &dowarn);
if (!eq || (sflag && dowarn)) {
bool promote, asgn, dowarn;
dowarn = false;
if (types_compatible(arg1, arg2, true, promote, asgn, &dowarn) &&
(!sflag || !dowarn))