summaryrefslogtreecommitdiff
path: root/cmdline/apt-extracttemplates.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2024-02-20 13:43:08 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2024-02-20 13:49:04 +0100
commit40a75722c43ae24cb9a99d6730a3b25b65819c49 (patch)
treea5e7292b13ed1a77a443f367ea0fd7b2e66b0742 /cmdline/apt-extracttemplates.cc
parent04ea92054757272c344afdf8d8e68046c7678b37 (diff)
Modernize standard library includes
This was automated with sed and git-clang-format, and then I had to fix up the top of policy.cc by hand as git-clang-format accidentally indented it by two spaces.
Diffstat (limited to 'cmdline/apt-extracttemplates.cc')
-rw-r--r--cmdline/apt-extracttemplates.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmdline/apt-extracttemplates.cc b/cmdline/apt-extracttemplates.cc
index 88a204110..a578fa84b 100644
--- a/cmdline/apt-extracttemplates.cc
+++ b/cmdline/apt-extracttemplates.cc
@@ -35,10 +35,10 @@
#include <apt-private/private-cmndline.h>
#include <apt-private/private-main.h>
+#include <cstdio>
+#include <cstdlib>
+#include <cstring>
#include <iostream>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
#include <unistd.h>
#include "apt-extracttemplates.h"