aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/EditView.cxx
diff options
context:
space:
mode:
authorNeil Hodgson <nyamatongwe@gmail.com>2015-09-29 16:08:52 +1000
committerNeil Hodgson <nyamatongwe@gmail.com>2015-09-29 16:08:52 +1000
commit7597f614ea4c81b9ef88ffaaeaf81bda6984d920 (patch)
tree761f10f606131ff7ae17046f8037f61c08a074c8 /src/EditView.cxx
parent9442fdc0319daf74c48e9aa385a16a0482903765 (diff)
downloadscintilla-mirror-7597f614ea4c81b9ef88ffaaeaf81bda6984d920.tar.gz
Mark local functions as static.
Diffstat (limited to 'src/EditView.cxx')
-rw-r--r--src/EditView.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/EditView.cxx b/src/EditView.cxx
index f89e4e141..1d040c81e 100644
--- a/src/EditView.cxx
+++ b/src/EditView.cxx
@@ -291,7 +291,7 @@ void EditView::AllocateGraphics(const ViewStyle &vsDraw) {
pixmapIndentGuideHighlight = Surface::Allocate(vsDraw.technology);
}
-const char *ControlCharacterString(unsigned char ch) {
+static const char *ControlCharacterString(unsigned char ch) {
const char *reps[] = {
"NUL", "SOH", "STX", "ETX", "EOT", "ENQ", "ACK", "BEL",
"BS", "HT", "LF", "VT", "FF", "CR", "SO", "SI",
@@ -305,7 +305,7 @@ const char *ControlCharacterString(unsigned char ch) {
}
}
-void DrawTabArrow(Surface *surface, PRectangle rcTab, int ymid) {
+static void DrawTabArrow(Surface *surface, PRectangle rcTab, int ymid) {
int ydiff = static_cast<int>(rcTab.bottom - rcTab.top) / 2;
int xhead = static_cast<int>(rcTab.right) - 1 - ydiff;
if (xhead <= rcTab.left) {
@@ -1935,7 +1935,7 @@ void EditView::PaintText(Surface *surfaceWindow, const EditModel &model, PRectan
// Space (3 space characters) between line numbers and text when printing.
#define lineNumberPrintSpace " "
-ColourDesired InvertedLight(ColourDesired orig) {
+static ColourDesired InvertedLight(ColourDesired orig) {
unsigned int r = orig.GetRed();
unsigned int g = orig.GetGreen();
unsigned int b = orig.GetBlue();