Unix Technical Forum

[patch] iopctl(8) contains unused headers

This is a discussion on [patch] iopctl(8) contains unused headers within the mailing.openbsd.tech forums, part of the OpenBSD category; --> Hello. iopctl.c does not actually uses errno.h and util.h. It can successfully compile and operate without them. --- iopctl.c.original ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > mailing.openbsd.tech

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 09:30 AM
Igor Zinovik
 
Posts: n/a
Default [patch] iopctl(8) contains unused headers

Hello.

iopctl.c does not actually uses errno.h and util.h. It can successfully
compile and operate without them.

--- iopctl.c.original Thu Jul 19 15:33:48 2007
+++ iopctl.c Thu Jul 19 15:33:57 2007
@@ -43,14 +43,12 @@
#include <sys/device.h>

#include <err.h>
-/* #include <errno.h> */
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <unistd.h>
-/* #include <util.h> */

#include <dev/i2o/i2o.h>
#include <dev/i2o/iopio.h>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:45 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com