[RTEMS Project] #2559: Delete the EXTERN pattern
RTEMS trac
trac at rtems.org
Wed Feb 17 08:44:19 UTC 2016
#2559: Delete the EXTERN pattern
-----------------------------+------------------------------
Reporter: sebastian.huber | Owner: sebastian.huber
Type: enhancement | Status: accepted
Priority: normal | Milestone: 4.12
Component: cpukit | Version: 4.12
Severity: normal | Resolution:
Keywords: |
-----------------------------+------------------------------
Comment (by Sebastian Huber <sebastian.huber@…>):
In [changeset:"358bd740593132ddb00d6e33b4f512b5f9615597/rtems"]:
{{{
#!CommitTicketReference repository="rtems"
revision="358bd740593132ddb00d6e33b4f512b5f9615597"
score: Avoid SCORE_EXTERN
Delete SCORE_INIT. This finally removes the
some.h:
#ifndef SOME_XYZ_EXTERN
#define SOME_XYZ_EXTERN extern
#endif
SOME_XYZ_EXTERN type xyz;
some_xyz.c:
#define SOME_XYZ_EXTERN
#include <some.h>
pattern in favour of
some.h:
extern type xyz;
some_xyz.c
#include <some.h>
type xyz;
Update #2559.
}}}
--
Ticket URL: <http://devel.rtems.org/ticket/2559#comment:14>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list