[Bugs] [Bug 1222319] New: Remove all occurrences of #include "config.h"

bugzilla at redhat.com bugzilla at redhat.com
Sun May 17 15:33:37 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1222319

            Bug ID: 1222319
           Summary: Remove all occurrences of #include "config.h"
           Product: GlusterFS
           Version: mainline
         Component: build
          Keywords: EasyFix, Triaged
          Assignee: bugs at gluster.org
          Reporter: ndevos at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com



Description of problem:

Almost all .c files start with

    #include "config.h"

This should not be needed, we can pass "-include $(top_srcdir)/config.h" in
GF_CFLAGS. This reduces about 400 lines of code, and the order of including
config.h can never be done incorrectly again.


Version-Release number of selected component (if applicable):

master

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list