summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Canciani <ranma42@gmail.com>2011-11-09 14:15:49 +0100
committerAndrea Canciani <ranma42@gmail.com>2011-11-09 14:17:10 +0100
commit90b2fd34fbd8b13b0daea7780051546d1c603a33 (patch)
treed32ae532022e206ec225e7a99e69edd24ed4dcd7
parentf96e78fa546d5d9f5016fa30fb60ce5dcf9a0a8e (diff)
cairo-script: Don't ask for inlining of a cold-path function
Silences a lot of warnings: inlining failed in call to 'scan_read.part.9': call is unlikely and code size would grow
-rw-r--r--util/cairo-script/cairo-script-scanner.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cairo-script/cairo-script-scanner.c b/util/cairo-script/cairo-script-scanner.c
index 969fb634..eeec6861 100644
--- a/util/cairo-script/cairo-script-scanner.c
+++ b/util/cairo-script/cairo-script-scanner.c
@@ -768,7 +768,7 @@ base64_end (csi_t *ctx, csi_scanner_t *scan)
longjmp (scan->jmpbuf, status);
}
-static inline void
+static void
scan_read (csi_scanner_t *scan, csi_file_t *src, void *ptr, int len)
{
uint8_t *data = ptr;