xfs
[Top] [All Lists]

TAKE - Remove relative includes from kdb

Subject: TAKE - Remove relative includes from kdb
From: Keith Owens <kaos@xxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 4 Aug 2001 23:47:39 +1000
Sender: owner-linux-xfs@xxxxxxxxxxx
Relative includes (#include "../../scsi.h") are an abomination.  They
embed assumptions about the tree structure in the source code.  If you
want to include a file outside the normal path, use #include <scsi.h>
with -I $(TOPDIR)/drivers/scsi in the Makefile.  Then source can be
moved with just Makefile changes.

Date:  Sat Aug  4 06:43:36 PDT 2001
Workarea:  sherman.melbourne.sgi.com:/build/kaos/2.4.x-xfs

The following file(s) were checked into:
  bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs


Modid:  2.4.x-xfs:slinx:100215a
linux/kdb/modules/kdbm_vm.c - 1.11
linux/kdb/modules/Makefile - 1.10


<Prev in Thread] Current Thread [Next in Thread>
  • TAKE - Remove relative includes from kdb, Keith Owens <=