CVSROOT: /cvs Module name: src Changes by: bl...@cvs.openbsd.org 2019/10/17 12:37:38
Modified files: sbin/ifconfig : brconfig.c ifconfig.c sff.c Added files: sbin/ifconfig : ifconfig.h Removed files: sbin/ifconfig : brconfig.h Log message: Fix some compiler warings in ifconfig(8). Move all prototypes and variables used in multiple .c files into common ifconfig.h. Basically this renames brconfig.h to ifconfig.h and also uses it for sff.c. Fix missing prototypes. Global variable name s is bad as it shadows local variables. Call it sock and use it everywhere. OK deraadt@