Print this page
10138 smatch fixes for usr/src/cmd/sgs

*** 27,36 **** --- 27,40 ---- * Copyright (c) 1988 AT&T * All Rights Reserved */ /* + * Copyright (c) 2018, Joyent, Inc. + */ + + /* * Utility functions */ #include <unistd.h> #include <stdio.h> #include <stdarg.h>
*** 317,327 **** * cbfunc - NULL, or pointer to function to call if a translation is * successful. */ static int str2chr(Lm_list *lml, int ndx, int argc, char **argv, char *arg, int c, ! const char *opt, size_t optsz, int cbfunc(int)) { if (optsz == 0) { /* * Compare a single option (ie. there's no associated option * argument). --- 321,331 ---- * cbfunc - NULL, or pointer to function to call if a translation is * successful. */ static int str2chr(Lm_list *lml, int ndx, int argc, char **argv, char *arg, int c, ! const char *opt, size_t optsz, int (*cbfunc)(int)) { if (optsz == 0) { /* * Compare a single option (ie. there's no associated option * argument).