File emacs-cc-mode-custom-kwfile.patch of Package emacs
diff --git a/lisp/progmodes/cc-custom-keywords.el b/lisp/progmodes/cc-custom-keywords.el
new file mode 100644
index 0000000..f4de2c4
--- /dev/null
+++ b/lisp/progmodes/cc-custom-keywords.el
@@ -0,0 +1,18 @@
+;;; cc-custom-keywords.el --- custom keywords for CC Mode
+
+(eval-when-compile
+ (let ((load-path
+ (if (and (boundp 'byte-compile-dest-file)
+ (stringp byte-compile-dest-file))
+ (cons (file-name-directory byte-compile-dest-file) load-path)
+ load-path)))
+ (load "cc-bytecomp" nil t)))
+
+(defconst c-custom-modifier-kwds
+ '("thread_local_trivial" "__thread" "__cold"
+ "_PCOMNEXP" "DLLEXPORT" "DLLIMPORT"))
+
+(defconst c-custom-hangon-kwds
+ '("NRPROXYAPI" "NRPROXYCALLBACK" "WINAPI"))
+
+(cc-provide 'cc-custom-keywords)