diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2017-09-07 10:36:14 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2017-09-07 10:55:17 +0200 |
commit | f0bb6ef8564aabc51e5bd14b6486bc86068364fb (patch) | |
tree | 6e1d012b2e6da038bdedd85e1c068b2de7bc0e15 /docs/reference/api | |
parent | d135c56f0f1bb82f0a5e886c10932b18de149c4f (diff) |
api: add MM_DISABLE_DEPRECATED guards around deprecated symbols
When this symbol is defined, e.g. via CFLAGS, building a program that
uses the ModemManager API will fail if the program references
deprecated symbols.
For now we just use it to keep gtk-doc-scan happy and avoid
unnecessary warnings.
Diffstat (limited to 'docs/reference/api')
-rw-r--r-- | docs/reference/api/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/reference/api/Makefile.am b/docs/reference/api/Makefile.am index 5d69fadb..7ab03165 100644 --- a/docs/reference/api/Makefile.am +++ b/docs/reference/api/Makefile.am @@ -18,7 +18,7 @@ DOC_MODULE = ModemManager DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.xml # Extra options to supply to gtkdoc-scan -SCAN_OPTIONS = +SCAN_OPTIONS = --deprecated-guards="MM_DISABLE_DEPRECATED" # The directory containing the source code. DOC_SOURCE_DIR = $(top_srcdir)/include |