diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-12-11 09:50:55 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2023-01-03 11:02:11 -0800 |
commit | 0493c7216dd39baeb420583be71af095576dbf74 (patch) | |
tree | 0d41116a388b4af4bcf821b994eebe62110a7b2c /keytypes.c | |
parent | 4119707089b5c14f53bd5ff0b86ee7e575ac9316 (diff) |
Mark more functions and variables static
Stop exporting things that aren't used outside the file
that defines them.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'keytypes.c')
-rw-r--r-- | keytypes.c | 27 |
1 files changed, 3 insertions, 24 deletions
@@ -92,27 +92,6 @@ Atom tok_KEYPAD; /***====================================================================***/ -extern Bool AddMapEntry(XkbDescPtr /* xkb */ , - KeyTypeInfo * /* type */ , - XkbKTMapEntryPtr /* new */ , - Bool /* clobber */ , - Bool /* report */ - ); - -extern Bool AddPreserve(XkbDescPtr /* xkb */ , - KeyTypeInfo * /* type */ , - PreserveInfo * /* new */ , - Bool /* clobber */ , - Bool /* report */ - ); - -extern Bool AddLevelName(KeyTypeInfo * /* type */ , - unsigned /* level */ , - Atom /* name */ , - Bool /* clobber */ , - Bool /* report */ - ); - #define MapEntryTxt(t,x,e) \ XkbVModMaskText((t)->dpy,(x),(e)->mods.real_mods,(e)->mods.vmods,XkbMessage) #define PreserveIndexTxt(t,x,p) \ @@ -531,7 +510,7 @@ NextMapEntry(KeyTypeInfo * type) return &type->entries[type->nEntries++]; } -Bool +static Bool AddPreserve(XkbDescPtr xkb, KeyTypeInfo * type, PreserveInfo * new, Bool clobber, Bool report) { @@ -603,7 +582,7 @@ AddPreserve(XkbDescPtr xkb, * @param clobber Overwrite existing entry. * @param report True if a warning is to be printed on. */ -Bool +static Bool AddMapEntry(XkbDescPtr xkb, KeyTypeInfo * type, XkbKTMapEntryPtr new, Bool clobber, Bool report) @@ -774,7 +753,7 @@ SetPreserve(KeyTypeInfo * type, /***====================================================================***/ -Bool +static Bool AddLevelName(KeyTypeInfo * type, unsigned level, Atom name, Bool clobber, Bool report) { |